mirror of
https://github.com/zontreck/NBTEditor
synced 2024-11-21 13:48:56 -07:00
Adds instruction to embed update information in appimage
This commit is contained in:
parent
d117972d0c
commit
098d8479c8
5 changed files with 20 additions and 5 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -28,6 +28,8 @@ pipeline {
|
|||
|
||||
cd ../../../../
|
||||
appimage-builder --recipe AppImageBuilder.yml
|
||||
|
||||
appimagetool AppDir/usr/share/applications/*.desktop -u "zsync|https://ci.zontreck.com/job/Projects/job/Dart/job/NBTEditor/job/main/lastSuccessfulBuild/artifact/NBT%20Editor-latest-x86_64.AppImage.zsync"
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
@ -37,6 +39,7 @@ pipeline {
|
|||
archiveArtifacts artifacts: '*.apk', fingerprint: true
|
||||
archiveArtifacts artifacts: 'out/*', fingerprint: true
|
||||
archiveArtifacts artifacts: '*.AppImage', fingerprint: true
|
||||
archiveArtifacts artifacts: '*.zsync', fingerprint: true
|
||||
|
||||
deleteDir()
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
const VERSION = "1.0724.24+0706";
|
||||
const VERSION = "1.0724.24+1429";
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
import 'dart:io';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:nbteditor/Editor.dart';
|
||||
import 'package:nbteditor/pages/AddPage.dart';
|
||||
|
@ -39,7 +41,10 @@ class StartPage extends StatefulWidget {
|
|||
class StartPageState extends State<StartPage> {
|
||||
@override
|
||||
void didChangeDependencies() {
|
||||
if (Platform.isAndroid || Platform.isIOS || Platform.isMacOS)
|
||||
checkPermissions();
|
||||
else
|
||||
Navigator.pushReplacementNamed(context, "/edit");
|
||||
}
|
||||
|
||||
Future<void> checkPermissions() async {
|
||||
|
@ -56,7 +61,14 @@ class StartPageState extends State<StartPage> {
|
|||
Widget build(BuildContext context) {
|
||||
return const Scaffold(
|
||||
body: Column(
|
||||
children: [Image(image: AssetImage("Icons/PNG/nbteditor.png"))],
|
||||
children: [
|
||||
SizedBox(height: 100),
|
||||
Image(
|
||||
image: AssetImage("Icons/PNG/nbteditor.png"),
|
||||
height: 500,
|
||||
width: 500,
|
||||
)
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
name: nbteditor
|
||||
description: A Minecraft NBT Editor written in Flutter
|
||||
publish_to: 'none'
|
||||
version: 1.0724.24+0706
|
||||
version: 1.0724.24+1429
|
||||
|
||||
|
||||
environment:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
||||
|
||||
#define MyAppName "NBT Editor"
|
||||
#define MyAppVersion "1.0724.24+0706"
|
||||
#define MyAppVersion "1.0724.24+1429"
|
||||
#define MyAppPublisher "Piccari Creations"
|
||||
#define MyAppURL "https://zontreck.com"
|
||||
#define MyAppExeName "nbteditor.exe"
|
||||
|
|
Loading…
Reference in a new issue