Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. open steam and go to cc in your library and click the gear next to the achievements counter
- 2. go down to manage and click browse local files this will open your file manager
- 3. when in your file manager go into your resources folder then into your app folder
- 4. copy the path to that folder and open a terminal
- 5. type cd then paste the path after it
- 6. then open your browser and go to https://nodejs.org/en/download and download nodejs through your prefered method make sure you have npm installed aswell
- 7. then enter back into your browser and paste this to install electron (what cc runs on) npm install [email protected] electron-builder
- 8. then type npm init and press enter on all prompts
- 9. then type npm install electron --save-dev and go back to you file manager and open package.json in any text editor
- 10. it should look like this
- {
- "name": "cookie-electron",
- "version": "1.0.0",
- "author": "Orteil",
- "homepage": "https://store.steampowered.com/app/1454400/Cookie_Clicker/",
- "description": "Cookie Clicker standalone",
- "main": "start.js",
- "license": "ISC",
- "dependencies": {
- "adm-zip": "^0.5.9",
- "steamapi": "^2.1.1"
- },
- "devDependencies": {},
- "scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
- }
- }
- 11. change it to be this
- {
- "name": "cookie-electron",
- "version": "1.0.0",
- "author": "Orteil",
- "homepage": "https://store.steampowered.com/app/1454400/Cookie_Clicker/",
- "description": "Cookie Clicker standalone",
- "main": "start.js",
- "license": "ISC",
- "dependencies": {
- "adm-zip": "^0.5.9",
- "steamapi": "^2.1.1"
- },
- "devDependencies": {},
- "scripts": {
- "test": "echo \"Error: no test specified\" && exit 1",
- "start": "electron ."
- }
- }
- 12. then to test you did all of that right run this npm run start
- 13. if cookie clicker launches good now close it and run npx electron-builder -l
- 14. and whala you should see the app in dist/linux-unpacked move the contents to a place of you choise then go into resources and delete the file named app.asar and copy the app folder from you steam game folder and paste it and rename it to app.asar
- 15. go back to the main folder and open the cookie-electron file and your playing cc
- extra. if you want to use mods dowload them from the workshop and go into you steam game folder then resources/app/mods/workshop and copy the contents over
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement