File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ import protocols.ext_foreign_toplevel_list_v1 as ft
1616#include <wayland-client.h>
1717#include <wayland-client-protocol.h>
1818
19- const supported_formats = ["png" , "ppm" , "qoi" , "jxl" ]
19+ const mrpenishot_version = '1.0.0'
20+ const supported_formats = ['png' , 'ppm' , 'qoi' , 'jxl' ]
2021
2122fn frame_handle_transform (mut capture Capture, frame & cc.ExtImageCopyCaptureFrameV1 , transform u32 ) {
2223 capture.transform = unsafe { wlp.WlOutput_Transform (transform) }
@@ -286,7 +287,7 @@ fn main() {
286287 // parse args
287288 mut fp := flag.new_flag_parser (os.args)
288289 fp.application ('mrpenishot' )
289- fp.version ('0.0.0' )
290+ fp.version (mrpenishot_version )
290291 fp.skip_executable ()
291292 mut image_format := fp.string ('format' , `f` , 'png' , 'output image format ${supported_formats} ' )
292293 include_cursor := fp.bool ('cursor' , `c` , false , 'include cursor in resulting image' )
You can’t perform that action at this time.
0 commit comments