OpenAsar/scripts/run.sh
CanadaHonk ec5082860e
Remove Polyfills (#101)
* poly: remove completely

* bootstrap: remove unused request require

* asarUpdate: rewrite request -> https

* moduleUpdater: rewrite request -> https

* ui: fallback to channel instead of "custom" if no hash

* index: set name to branch for obvious testing

* config/backend: tweak source

* moduleUpdater: fix rewrite

* moduleUpdater: fix rewrite (x2)

* moduleUpdater: follow redirects with rewrite

* ci: start multi-branch rewrite

* ci: upgrade node to 18.x

* ci: rewrite version changing to use existing

* ci: change release version getting to in file

* ci: mess with yaml syntax

* ci: revert to node 16.x, fix version wrapped in quotes

* ci: fix invalid yaml

* ci: yaml syntax fixing

* ci: append to tag

* ci: make pre-release unless nightly build

* ci: add title nicening

* asarUpdate: fix release suffix

* asarUpdate: fix not following redirect

* winFirst: don't remake shortcuts, tweaks

* ui: add channel prefix if non-nightly

* chore: prep for main branch
2022-12-02 22:23:46 +00:00

13 lines
307 B
Bash
Executable file

#!/bin/sh
echo "Packing asar..."
asar pack src app.asar # Package asar
# asar list app.asar # List asar for debugging / testing
echo "Copying asar..."
cp app.asar /opt/discord-canary/resources/app.asar # Overwrite app.asar for Linux Canary
echo "Running discord..."
echo ""
discord-canary "$@" # Run it