Closed joedoe23 closed 2 years ago
we have not activated the ci pipeline for this repo yet, is/was on the todo list but got put to the back. that link is for the old gui.
how do you build the binaries?
$ yarn dist
yarn run v1.22.17
warning ../package.json: No license field
$ rm -rf dist; rm -rf release; yarn compile && electron-builder
warning ../package.json: No license field
$ yarn compile:electron && yarn compile:react
warning ../package.json: No license field
$ cross-env NODE_ENV=production webpack --config webpack.electron.config.js --mode production
asset main.js 94.7 KiB [emitted] (name: main) 1 related asset
orphan modules 30.1 KiB [orphan] 10 modules
runtime modules 937 bytes 4 modules
built modules 89.6 KiB [built]
modules by path ./ 89.4 KiB
modules by path ./node_modules/@babel/runtime/ 1.84 KiB 4 modules
modules by path ./node_modules/zeromq/lib/*.js 27.2 KiB 3 modules
./main.ts + 10 modules 31.3 KiB [not cacheable] [built] [code generated]
./node_modules/regenerator-runtime/runtime.js 24.3 KiB [built] [code generated]
./node_modules/node-gyp-build/index.js 4.79 KiB [built] [code generated]
external "path" 42 bytes [built] [code generated]
external "child_process" 42 bytes [built] [code generated]
external "events" 42 bytes [built] [code generated]
external "fs" 42 bytes [built] [code generated]
external "os" 42 bytes [built] [code generated]
webpack 5.52.0 compiled successfully in 2040 ms
warning ../package.json: No license field
$ cross-env NODE_ENV=production webpack --config webpack.react.config.js --mode production
asset js/main.js 4.22 MiB [emitted] (name: main) 1 related asset
asset index.html 218 bytes [emitted]
orphan modules 1.85 MiB [orphan] 561 modules
runtime modules 1.04 KiB 5 modules
cacheable modules 3.23 MiB 609 modules
./src/app/app.tsx + 85 modules 952 KiB [not cacheable] [built] [code generated]
webpack 5.52.0 compiled successfully in 10435 ms
• electron-builder version=22.11.7 os=5.10.93-1-MANJARO
• loaded configuration file=package.json ("build" field)
• writing effective config file=release/builder-effective-config.yaml
• rebuilding native dependencies dependencies=zeromq@6.0.0-beta.6 platform=linux arch=x64
• rebuilding native dependency name=zeromq version=6.0.0-beta.6
• packaging platform=linux arch=x64 electron=11.5.0 appOutDir=release/linux-unpacked
• building target=deb arch=x64 file=release/lokinet-gui_0.1.0_amd64.deb
Done in 177.18s.
ci is hooked up and will now drop build artifacts here
lokinet-gui works fine for me when started in dev mode with
yarn dev:electron
andyarn dev:react
. I also build the binaries, but when I run./release/linux-unpacked/lokinet-gui
a window opens but stays grey. I use manjaro linux.On the console I see:
I also wanted to try the CI builds, but I couldn't find lokinet-gui linked. Probably it's this: https://oxen.rocks/oxen-io/lokinet-control-panel/ . But the folder is named falsely then. Why is there no general x86 linux build?