Skip to content

Commit

Permalink
r2
Browse files Browse the repository at this point in the history
  • Loading branch information
danimesq committed Jul 8, 2019
1 parent f33197b commit 9763942
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,5 @@ sudo npm install -g
if [ "$construct2" = "o" ]; then
echo "Detected this app/game uses Construct 2 engine. Applying special patch for C2..."
chmod 755 c2init.sh && ./c2init.sh
echo "Done patching for Construct 2."
fi
echo "(✓) Done! Your app is ready."
11 changes: 6 additions & 5 deletions optionals/Construct 2/c2init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ Construct 2 app/game patcher
EOF
echo "Symlinking from Floflis' shared libraries for Construct 2..."
echo "sw.js:"
echo "-> sw.js..."
rm -f sw.js && ln -s /1/Floflis/libs/game-engines/c2/sw.js sw.js
echo "offlineClient.js:"
echo "-> offlineClient.js..."
rm -f offlineClient.js && ln -s /1/Floflis/libs/game-engines/c2/offlineClient.js offlineClient.js
echo "c2webappstart.js:"
echo "-> c2webappstart.js..."
rm -f c2webappstart.js && ln -s /1/Floflis/libs/game-engines/c2/c2webappstart.js c2webappstart.js
echo "jquery-2.1.1.min.js:"
echo "-> jquery*.min.js..."
rm -f jquery-2.1.1.min.js && ln -s /1/Floflis/libs/game-engines/c2/jquery-2.1.1.min.js jquery-2.1.1.min.js
echo "index.html:"
echo "-> index.html..."
rm -f index.html && ln -s /1/Floflis/libs/game-engines/c2/index.html index.html
echo "✓ Done patching for Construct 2."

0 comments on commit 9763942

Please sign in to comment.