No description
Find a file
2025-12-22 16:42:01 +02:00
.github/workflows update github actions/cache to v4 2025-03-20 17:42:32 +07:00
android Rename to mycelium_gui 2025-12-22 15:24:30 +02:00
assets Adjust the logo 2025-09-28 16:06:00 +03:00
docs feat(ui): add restart button. 2024-06-04 17:14:31 +07:00
installers Rename to mycelium_gui 2025-12-22 15:24:30 +02:00
integration_test Rename to mycelium_gui 2025-12-22 15:24:30 +02:00
ios Rename to mycelium_gui 2025-12-22 15:24:30 +02:00
lib Rename to mycelium_gui 2025-12-22 15:24:30 +02:00
macos Rename to mycelium_gui 2025-12-22 15:24:30 +02:00
mycelffi Use mycelium from forge instead of github 2025-12-22 16:42:01 +02:00
mycelmob Use mycelium from forge instead of github 2025-12-22 16:42:01 +02:00
test Rename to mycelium_gui 2025-12-22 15:24:30 +02:00
test_driver first commit 2024-04-19 11:21:18 +07:00
windows Rename to mycelium_gui 2025-12-22 15:24:30 +02:00
.gitignore release ios to v0.6.1 2025-07-17 10:50:49 +03:00
.metadata flutter boilerplate for windows support 2024-10-08 10:16:49 +07:00
analysis_options.yaml first commit 2024-04-19 11:21:18 +07:00
pubspec.lock Fix quit from dock on macos 2025-11-27 13:31:27 +02:00
pubspec.yaml Rename to mycelium_gui 2025-12-22 15:24:30 +02:00
README.md Rename to mycelium_gui 2025-12-22 15:24:30 +02:00

mycelium_gui

A mycelium flutter GUI

Development

prequisites

iOS

requirements

  • Real iPhone is needed for test, we can't use Simulator here because mycelium need iOS Network Extensions which can't run on Simulator.

build iOS Swift-Rust Bridge

cd mycelmob
bash build-ios.sh

there is IPHONEOS_DEPLOYMENT_TARGET variable in the build-ios.sh which need to be the same with the value set in XCode.

Macos

build Macos Swift-Rust Bridge

cd mycelmob
bash build-mac.sh

Android

requirements

  • Android Studio. The flutter related configuration can be found in the above flutter SDK installation guide
  • Android NDK 26.1.10909125. Updated version can be found at android/app/build.gradle file

build Android Kotlin-Rust Bridge

cd mycelmob
bash build-android.sh

Windows

requirements

Visual Studio 2022.

Complete list at https://docs.flutter.dev/get-started/install/windows/desktop#software-requirements

build Windows DLL

cd mycelffi
./build.bat

run

go to mycelium_gui dir

  • flutter pub get
  • flutter run
  • or using vscode:
    • code . (to open vscode)
    • Run -> `Start Debugging

Usage

Windows

We currently need to run it as administrator

Installer / Release

Android

self distributed .apk

flutter build apk

google playstore release

  1. create the signature, as described at https://docs.flutter.dev/deployment/android#sign-the-app
  2. change signingConfig signingConfigs.debug in build.gradle to signingConfig signingConfigs.release
  3. increase build number in pubspec.yaml
  4. build the .aab (application bundle)
flutter build appbundle

Windows

Build in release mode

flutter build windows --release

copy visual studo .dll files:

cp 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Redist\MSVC\14.40.33807\x64\Microsoft.VC143.CRT\msvcp140.dll' .\build\windows\x64\runner\Release\
cp 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Redist\MSVC\14.40.33807\x64\Microsoft.VC143.CRT\msvcp140_1.dll' .\build\windows\x64\runner\Release\ 
cp 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Redist\MSVC\14.40.33807\x64\Microsoft.VC143.CRT\msvcp140_2.dll' .\build\windows\x64\runner\Release\  
cp 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Redist\MSVC\14.40.33807\x64\Microsoft.VC143.CRT\vcruntime140.dll' .\build\windows\x64\runner\Release\
cp 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Redist\MSVC\14.40.33807\x64\Microsoft.VC143.CRT\vcruntime140_1.dll' .\build\windows\x64\runner\Release\

run preparation script

.\installers\windows\prepare.bat

Run Inno Setup, our working dir is build\windows\x64\runner\Release:

  • mycelium-network.exe as the application main executable (it is renamed from the original mycelium_gui.exe)
  • add file(s) and add all .dll files
  • add folder and add data folder with it's subdirectories

Scroll down the list & select the data folder path and click on Edit… button. It is important to ensure that the destination sub-folder has the same name data otherwise the app wont run after installation as all contents of the folder are dispersed outside. So, enter the name of the Destination subfolder as data and click OK.

The Inno Setup script can be found here, you need to modify the path (according to your env) before Build it on Inno Setup app.