GithubHelp home page GithubHelp logo

wilinz / aimigo Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 10.13 MB

License: BSD 3-Clause "New" or "Revised" License

Kotlin 0.04% Shell 0.12% Inno Setup 7.90% Ruby 0.87% Swift 0.99% Objective-C 0.01% Dart 74.57% CMake 5.96% C++ 8.55% C 0.44% HTML 0.56%

aimigo's Introduction

aimigo 一个 ChatGpt App

下面是一些常用命令

Flutter 生成代码

flutter pub run build_runner build

Web运行在指定端口

flutter run -d chrome --web-port 8888  --web-hostname 0.0.0.0

Json to dart:

#生成后修改原json名为"_"开头可忽略此文件,避免下次生成时被覆盖
flutter pub run json5_model --src=lib/data/json  --dist=lib/data/model
#windows sdk路径
"C:\Program Files (x86)\Windows Kits\10\bin\<version>\x64"

windows msix 证书生成

#替换方括号中内容并去掉方括号
msixherocli.exe newcert --directory ./certs --name testname --password password --subject CN=testname --validUntil "2054/1/25 23:01:34"

windows构建 msix

#release
flutter pub run msix:create
#debug
flutter pub run msix:create --debug
#创建自签名msix安装程序
flutter pub run msix:create -c ./certs/testname.pfx -p password

生成 windows exe 格式安装包

choco install innosetup
iscc innosetup/setup.iss

windows 安装 choco 包管理器:

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

签名 android apk

apksigner  sign  --v4-signing-enabled false --ks xxx.jks  --ks-key-alias alias  --out app-arm64-v8a-release-signed.apk app-arm64-v8a-release.apk

批量签名 apk

for file in ./*.apk; do
      filename="${file##*/}"
      echo "Signing ${filename}"
      apksigner sign --v4-signing-enabled false --ks xxx.jks  --ks-pass env:ANDROID_KS_PASS --ks-key-alias alias  --out ${file} ${file}
    done

macos 安装 brew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

aimigo's People

Contributors

wilinz avatar

Stargazers

Zemian Liang avatar

Watchers

 avatar

Forkers

liangzemian

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.