kitty-panics / CreateShortcut

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

License:GNU General Public License v2.0


Languages

Language:C 100.0%