move lang.py and inlinee-sciter.py to res

This commit is contained in:
rustdesk 2022-09-18 11:53:15 +08:00
parent 5751b23a97
commit b7e54081b8
4 changed files with 8 additions and 1 deletions

View File

@ -201,7 +201,7 @@ def main():
'//#![windows_subsystem', '#![windows_subsystem'))
if os.path.exists(exe_path):
os.unlink(exe_path)
os.system('python3 inline-sciter.py')
os.system('python3 res/inline-sciter.py')
if os.path.isfile('/usr/bin/pacman'):
os.system('git checkout src/ui/common.tis')
version = get_version()

7
res/gen_icon.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
for size in 16 32 64 128 256 512 1024; do
#inkscape -z -o $size.png -w $size -h $size icon.svg >/dev/null 2>/dev/null
convert icon.png -resize ${size}x${size} app_icon_$size.png
done
# from ImageMagick
#/bin/rm 16.png 32.png 48.png 128.png 256.png