Skip to content

Commit 18891a9

Browse files
committed
feat: version 1.0.0
1 parent 6e4220b commit 18891a9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

main.v

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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

2122
fn 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')

0 commit comments

Comments
 (0)