Skip to content

[Win] 创建桌面快捷方式 (Create a desktop shortcut)

License

Notifications You must be signed in to change notification settings

kitty-panics/CreateShortcut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CreateShortcut

Create a desktop shortcut.

Download

Usage

CreateShortcut.exe [options] src dest

options

  • --work-dir
  • --arguments
  • --show-cmd
  • --icon-file
  • --description
  • --desktop-shortcut

Build

pacman -S mingw-w64-gcc
mkdir build

i686-w64-mingw32-windres CreateShortcut.rc -o build/CreateShortcut-x86.res -O coff
i686-w64-mingw32-gcc CreateShortcut.c build/CreateShortcut-x86.res -o build/CreateShortcut-x86.exe -luuid -lole32
i686-w64-mingw32-strip build/CreateShortcut-x86.exe

x86_64-w64-mingw32-windres CreateShortcut.rc -o build/CreateShortcut-x64.res -O coff
x86_64-w64-mingw32-gcc CreateShortcut.c build/CreateShortcut-x64.res -o build/CreateShortcut-x64.exe -luuid -lole32
x86_64-w64-mingw32-strip build/CreateShortcut-x64.exe

LICENSE

GPL v2

About

[Win] 创建桌面快捷方式 (Create a desktop shortcut)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages