Przeglądaj źródła

auto update script executed

Toby Chui 1 rok temu
rodzic
commit
8f29260d52
2 zmienionych plików z 8 dodań i 2 usunięć
  1. 7 1
      Makefile
  2. 1 1
      main.go

+ 7 - 1
Makefile

@@ -4,7 +4,8 @@ temp = $(subst /, ,$@)
 os = $(word 1, $(temp))
 arch = $(word 2, $(temp))
 
-all:  web.tar.gz $(PLATFORMS) fixwindows zoraxy_file_checksum.sha1
+#all:  web.tar.gz $(PLATFORMS) fixwindows zoraxy_file_checksum.sha1
+all:  clear_old $(PLATFORMS) fixwindows
 
 binary: $(PLATFORMS)
 
@@ -25,6 +26,11 @@ fixwindows:
 	-mv ./dist/zoraxy_windows_amd64 ./dist/zoraxy_windows_amd64.exe
 	-mv ./dist/zoraxy_windows_arm64 ./dist/zoraxy_windows_arm64.exe
 
+
+clear_old:
+	-rm -rf ./dist/
+	-mkdir ./dist/
+
 web.tar.gz:
 	
 	@echo "Removing old build resources, if exists"

+ 1 - 1
main.go

@@ -34,7 +34,7 @@ var (
 	name        = "Zoraxy"
 	version     = "2.11"
 	nodeUUID    = "generic"
-	development = true //Set this to false to use embedded web fs
+	development = false //Set this to false to use embedded web fs
 
 	/*
 		Binary Embedding File System