Giter Site home page Giter Site logo

phoenixbuilder.3rd.gui's Introduction

PhoenixBuilder.3rd.GUI

注意

该项目已经合并到官方FB中:
https://github.com/LNSSPsd/PhoenixBuilder/tree/fyne-gui
后续将不再维护该仓库,请切换到官方fb以保证功能更新

说明

PhoenixBuilder.3rd.GUI 是第三方开发者开发的套壳 FastBuilder
提供了一个带有界面的,完全跨平台的图形化Fastbuilder
其核心来自 Fastbuilder https://github.com/LNSSPsd/PhoenixBuilder
图形界面/跨平台编译技术来自 Fyne: https://github.com/fyne-io/fyne

PhoenixBuilderHeadless 是原FB项目的无头版本,尽量减少对原项目的修改:
https://github.com/LNSSPsd/PhoenixBuilder

没办法,为了能让项目在安卓上编译,不得不修改fastbuilder->现在的fb文件夹
PhoenixBuilder GPLv3 协议,项目的核心:
https://github.com/LNSSPsd/PhoenixBuilder
根据协议要求,本项目同为 GPL v3 协议
除了该项目外,本项目:

运行

你可以很简单的使用

go build main.go

编译出对应平台的程序

编译发行版

首先你需要安装必须的工具

go get fyne.io/fyne/v2/cmd/fyne
go install fyne.io/fyne/v2/cmd/fyne

对于Windows/Linux/Mac

fyne package -os linux
fyne package -os windows
fyne package -os darwin

对于 android:

  1. 准备环境,ndk,adb,并设置环境变量 ANDROID_NDK_HOME
  2. 编译(windows上似乎无法正常工作)
fyne package -os android/arm64 -appID phoenixbuilder.third.gui -release true
  1. 安装测试
fyne install -os android

对于ios:

你需要一个许可证文件:

fyne release -os ios -certificate "Apple Distribution" -profile "My App Distribution" -appID "phoenixbuilder.third.gui"

另一种编译方式(fyne-cross)

安装环境和工具

go get github.com/fyne-io/fyne-cross
go install github.com/fyne-io/fyne-cross

安装 docker,并想办法确保网络连接 编译 (输出在 fyne-cross/dist 目录下)

Linux:
fyne-cross linux -arch=amd64 -app-build 169 -app-id "fastbuilder.third.gui" -app-version 0.0.4 -icon unbundled_assets/Icon.png  -name "FastBuilder_3rd_Gui"

MacOS:
fyne-cross darwin -arch=amd64 -app-build 169 -app-id "fastbuilder.third.gui" -app-version 0.0.4 -icon unbundled_assets/Icon.png  -name "FastBuilder_3rd_Gui"

Windows:
fyne-cross windows -arch=amd64 -app-build 169 -app-id "fastbuilder.third.gui" -app-version 0.0.4 -icon unbundled_assets/Icon.png  -name "FastBuilder_3rd_Gui.exe"

Android:
fyne-cross android -arch=arm64 -app-build 169 -app-id "fastbuilder.third.gui" -app-version 0.0.4 -icon unbundled_assets/Icon.png  -name "FastBuilder_3rd_Gui"

IOS:
你需要创建一个开发者账号,并建立一个同名 Xcode项目"fastbuilder.third.gui"接着
fyne-cross ios -app-build 169 -app-id "fastbuilder.third.gui" -app-version 0.0.4 -icon unbundled_assets/Icon.png  -name "FastBuilder-3rd-Gui"

2022.2.25补充

现在配置好环境后,输入

bash fyne_cross_compile.sh

即可自动打包全平台的分发了

更多

参考
https://developer.fyne.io/started/cross-compiling
https://developer.fyne.io/started/packaging
的编译说明

致谢

感谢 Ruphane 在该程序开发和测试中的帮助
感谢 CodePwn 帮忙测试和反馈问题
以及 fyne 库的开发者

phoenixbuilder.3rd.gui's People

Contributors

2401pt avatar cma2401pt avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.