Rewrite the launcher in MoonBit (old code moves to legacy/) (#1)
Launcher / test (push) Successful in 1m20s
Launcher / apk (push) Successful in 37s

This commit was merged in pull request #1.
This commit is contained in:
nandi committed 2026-11-23 01:57:10 +00:00
1 parent 7d2bf5996f
commit 2fa7bd745b
150 files changed
+8319 -462

No files matched your search

+45
View File
@@ -0,0 +1,45 @@
// Generated using `moon info`, DON'T EDIT IT
package "experiments/launcher/updater"
import {
"moonbitlang/core/debug",
}
// Values
pub let apk_asset : String
pub let check_every_ms : Int64
pub fn decide(Int32, Int32, Int32, manual~ : Bool) -> Decision
pub fn parse_release(String) -> Release?
pub fn parse_version(String) -> Int32?
pub let release_api : String
pub fn should_check(Int64, Int64, manual~ : Bool) -> Bool
pub fn tag_version(String) -> Int32?
pub let version_asset : String
// Errors
// Types and methods
#derive(Eq, @debug.Debug)
pub(all) enum Decision {
UpToDate(Int32)
Install(Int32)
Declined(Int32)
}
pub(all) struct Release {
tag : String
version_url : String?
apk_url : String?
}
// Type aliases
// Traits