Skip to content

Commit

Permalink
1.4.1
Browse files Browse the repository at this point in the history
Signed-off-by: cruvie <cruvie@>
  • Loading branch information
cruvie committed Dec 12, 2024
1 parent 40d79ea commit 2853e37
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 26 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
*.swp
.DS_Store
.atom/
.build/
.buildlog/
.history
.svn/
.swiftpm/
migrate_working_dir/

# IntelliJ related
Expand Down
3 changes: 2 additions & 1 deletion cmd/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ flutter clean
#flutter build web --web-renderer canvaskit

echo 'build web html'
flutter build web --web-renderer html
flutter build web
#flutter build web --web-renderer html


```
Expand Down
10 changes: 10 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#FROM nginx:latest
#COPY ./kk_etcd_ui/build/web /usr/share/nginx/html/web
#COPY ./kk_etcd_ui/lib/docker/default.conf /etc/nginx/conf.d/default.conf
#EXPOSE 80

FROM jitesoft/lighttpd:latest

COPY ../build/web /var/www/html
EXPOSE 80

23 changes: 0 additions & 23 deletions docker/Dockerfile-ui

This file was deleted.

20 changes: 20 additions & 0 deletions docker/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@


cd ..

#docker build -t kk_etcd_ui_local -f docker/Dockerfile .

# 本地构建测试
# docker build -t kk_etcd_ui_local -f docker/Dockerfile .
# docker run --name kk_etcd_ui_local -p 2334:80 kk_etcd_ui_local


# 多平台构建-发布
# docker login 可以先登陆docker desktop
docker buildx build --platform linux/amd64,linux/arm64 -t cruvie/kk_etcd_ui:1.4.1 -f docker/Dockerfile . --push


# 测试
# docker pull cruvie/kk_etcd_ui:1.4.1
# docker run --name kk_etcd_ui -p 2334:80 cruvie/kk_etcd_ui:1.4.1

4 changes: 4 additions & 0 deletions macos/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ class AppDelegate: FlutterAppDelegate {
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
return true
}

override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
return true
}
}
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ description: Etcd UI
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

version: 1.4.0
version: 1.4.1

environment:
sdk: '>=3.5.4'
sdk: '>=3.6.0'

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down

0 comments on commit 2853e37

Please sign in to comment.