-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhelp.ts
36 lines (27 loc) · 1.36 KB
/
help.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import {bold, italic} from 'https://deno.land/std@0.216.0/fmt/colors.ts';
export default
`${bold('Wincompile')}
Compile Deno apps for Windows with custom icon and metadata.
${bold('Install or update')}
deno run -r --allow-run --allow-env --allow-read https://deno.land/x/wincompile/install.ts
${bold('Examples')}
wincompile --Icon=abc.ico -- -A --unstable my_app.ts
wincompile --Icon="C:/Program Files/my program/my icon.ico" --FileDescription="Super App" --FileVersion=1.0.2 --ProductVersion=1.0.2.standard -- --allow-all --unstable app.ts
wincompile -- -A main.ts
${bold('Usage')}
wincompile [Wincompile options] -- [Deno compile options] <filename>
${bold('Wincompile options (case-sensitive)')}
--FileDescription Main file description
--FileVersion Examples: "2.3.0", "2". Default "1"
--Icon ${italic('.ico')} filepath. Prefer 256x256 icons, as they scale better
--LegalCopyright Legal information text
--OriginalFilename Example: "my_app.exe"
--ProductName Example: "Super App"
--ProductVersion Examples: "1", "2.rc2". Default "1"
--recache Redownload and cache Wincompile assets. Use only if Wincompile is not working properly
${bold('Deno compile options')}
Same as ${italic('deno compile')}.
${bold('Uninstall')}
deno uninstall wincompile
https://github.com/Leokuma/wincompile
`;