![]() deb works, the menu icon is created but Scatch doesn't start!Įrror: Cannot find module '/usr/lib/scratch-desktop/resources/electron.asar/browser/init.js'Īt Function.Module._resolveFilename (internal/modules/cjs/loader.js:584:15)Īt Function.Module._load (internal/modules/cjs/loader.js:510:25)Īt (internal/modules/cjs/loader.js:746:12)Īt startup (internal/bootstrap/node.js:282:19)Īt bootstrapNodeJSCore (internal/bootstrap/node.js:759:3) exe and and put in /temp the "scratch-desktop.exe" file. I just changed the version of scratch, but the command: $ sudo gdebi /tmp/scratch-desktop_3.10.2_bĪfter one year, I try to remake a new SCRATCH64bit.DEB for Linux.įrom LINUX MINT 20.1 (Ubuntu 20.1) 64bit., I used the. $ sudo dnf install /tmp/scratch-desktop-3.10.2-1.x86_64.rpmĬreate DEB package $ sudo apt-get install -yq npm gdebi p7zip-full OR $ ~/node_modules/.bin/electron-installer-redhat -src /tmp/scratch-desktop/ -dest /tmp/ -arch x86_64 $ ~/node_modules/.bin/electron-installer-redhat /tmp/config-rpm.json $ ~/node_modules/.bin/asar extract app.asar appĬreate RPM package $ sudo dnf install rpm-build ![]() Inside the app.asar $ cd /tmp/scratch-desktop/resources/ $ chmod 755 /tmp/scratch-desktop/resources/static/assets ![]() $ chmod 755 /tmp/scratch-desktop/resources/static $ chmod 755 /tmp/scratch-desktop/resources $ chmod 755 /tmp/scratch-desktop/swiftshader $ ln -fsr /tmp/scratch-desktop/electron /tmp/scratch-desktop/scratch-desktopįix permissions $ chmod 755 /tmp/scratch-desktop/locales $ 7za x -aoa -y /tmp/scratch-desktop.exe -o/tmp/scratch-desktopĬreate and launch electron app $ cp -rf ~/node_modules/electron/dist/* /tmp/scratch-desktop/ $ wget -max-redirect 5 -c -O /tmp/scratch-desktop.exe '' Scratch Desktop (Scratch 3.0 Offline Editor) on GNU/Linux Install electron $ cd ~Įxtract scratch-desktop $ rm -rf /tmp/scratch-desktop ~/node_modules/.bin/electron-installer-debian -config /tmp/config-deb.json ~/node_modules/.bin/electron-installer-debian -config /tmp/config-deb-i386.json Npm install -c -O /tmp/config-deb-i386.json ' ' Wget -c -O /tmp/scratch-desktop/resources/Icon.png ' ' Ln -fsr /tmp/scratch-desktop/electron /tmp/scratch-desktop/scratch-desktopĬhmod 755 /tmp/scratch-desktop/swiftshaderĬhmod 755 /tmp/scratch-desktop/resources/staticĬhmod 755 /tmp/scratch-desktop/resources/static/assets Wget -max-redirect 5 -c -O /tmp/scratch-desktop.exe ' 'ħza x -aoa -y /tmp/scratch-desktop.exe -o/tmp/scratch-desktopĬp -rf ~/node_modules/electron/dist/ * /tmp/scratch-desktop/ Sudo apt-get install -yq npm gdebi p7zip-full
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |