Skip to content

Instantly share code, notes, and snippets.

@salopst
Created March 27, 2021 12:14
Show Gist options
  • Save salopst/462e5c0664036dc4d24f20e482411e40 to your computer and use it in GitHub Desktop.
Save salopst/462e5c0664036dc4d24f20e482411e40 to your computer and use it in GitHub Desktop.

2021-02-11

yearluk

make icloud nativefier app for ical...

"Nativefier is a command-line tool to easily create a desktop app for any web site with minimal configuration. Apps are wrapped by Electron" https://github.com/nativefier/nativefier

mkdir -p ~/tmp/icloud-nativefier-build-dir
cd ../tmp/icloud-nativefier-build-dir
# get nice icon
wget https://i.imgur.com/m0abT4k.png -O icon.png
nativefier -p linux -a x64 -i icon.png --disable-context-menu --disable-dev-tools --single-instance https://www.icloud.com/
# App built to /home/yearluk/tmp/icloud-nativefier-build-dir/iCloud-linux-x64
mv ~/tmp/icloud-nativefier-build-dir/iCloud-linux-x64 ~/bin/
# add to $XDG_CONFIG_HOME/.shell_aliases.sh ... 
# alias icloud="$HOME/bin/iCloud-linux-x64/iCloud"
cd ~/bin/iCloud-linux-x64
# make the desktop file.... put in ~/.local/share/applications ... or /usr/share/applications/
vscodium icloud.desktop
chmod +x ./icloud.desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment