Skip to content

Cross-platform application with built-in ddns4cdn and ddns4cdn-ui.

License

Notifications You must be signed in to change notification settings

jat001/ddns4cdn-aio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ddns4cdn-aio wakatime

Development

This project focuses on using VS Code as an IDE for development on all platforms. No Android Studio, Xcode, or other IDE required.

Flutter

# Windows
scoop install extra/flutter
# macOS
brew install flutter
# Arch Linux
yay flutter

For Chinese users, you can set the following environment variables to speed up the download of Flutter SDK and Dart packages.

export FLUTTER_STORAGE_BASE_URL='https://storage.flutter-io.cn'
export PUB_HOSTED_URL='https://pub.flutter-io.cn'
cd src
flutter pub get

Windows

cd src/windows

macOS

# Install necessary tools.
brew install xcodegen cocoapods
# Optional: install linter and formatter
# if you want to contribute to this project.
brew install swiftlint swiftformat
cd src/macos
# Generate Runner.xcodeproj, check project.yml for details.
xcodegen generate

Linux

cd src/linux

Android

  1. Install your preferred Java SDK. This project uses the latest Oracle JDK. Do not forget to set the JAVA_HOME environment variable.

    # Windows
    scoop install java/oraclejdk
    # scoop will set JAVA_HOME automatically
    $env:JAVA_HOME = $env:USERPROFILE + '\scoop\apps\oraclejdk\current'
    # macOS
    brew install oracle-jdk
    export JAVA_HOME="$(/usr/libexec/java_home)"
    # Arch Linux
    yay jdk
    export JAVA_HOME='/usr/lib/jvm/java-jdk21'
  2. Install Android command line tools and set the ANDROID_HOME environment variable.

    # Windows
    scoop install main/android-clt
    # scoop will set ANDROID_HOME automatically
    $env:ANDROID_HOME = $env:USERPROFILE + '\scoop\apps\android-clt\current'
    # macOS
    brew install android-commandlinetools
    export ANDROID_HOME='/usr/local/share/android-commandlinetools'
    # Arch Linux
    yay android-sdk-cmdline-tools-latest
    export ANDROID_HOME='/opt/android-sdk'
  3. Install Gradle.

    # Windows
    scoop install main/gradle
    # macOS
    brew install --ignore-dependencies gradle
    # Arch Linux
    sudo pacman -S gradle
  4. Build

    cd src/android
    gradle wrapper
    gradle build

iOS

# Install necessary tools.
brew install xcodegen cocoapods
# Optional: install linter and formatter
# if you want to contribute to this project.
brew install swiftlint swiftformat
cd src/ios
# Generate Runner.xcodeproj, check project.yml for details.
xcodegen generate

About

Cross-platform application with built-in ddns4cdn and ddns4cdn-ui.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published