My LogSeq dev machine is on Ubuntu 18.x and my production machine is running Windows 10, I needed a way to compile the LogSeq desktop APP for Windows. I tired & failed to make the "build" run on my windows machine but I did, however, succeed in letting my Ubuntu machine make Windows x64 files
These are the steps I took to make it work on my Ubuntu machine, sharing them hoping it helps someone else. I assume you have all the basic pre-requisites for LogSeq, if not you can find them at https://github.com/logseq/logseq#1-requirements
git clone https://github.com/logseq/logseq/
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install wine64 wine32
sudo apt install winetricks
winetricks dotnet46
sudo apt install nuget
sudo apt-get install mono-complete
~/logseq/resources/package.json
line 10 "electron:make": "electron-forge make --platform=win32 --arch=x64 --asar",
cd logseq
yarn
yarn release
yarn release-electron
the executable should be in the static/out/make/squirrel.windows/x64/
folder
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |