2021-12-09 16:25:14 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
echo "Packing asar..."
|
2021-12-11 00:45:56 +00:00
|
|
|
node injectPolyfills.js
|
2021-12-09 16:25:14 +00:00
|
|
|
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
|