marksibly 8 年之前
父節點
當前提交
8815be146c
共有 2 個文件被更改,包括 16 次插入14 次删除
  1. 8 7
      scripts/rebuildted2go.sh
  2. 8 7
      scripts/updateted2go.sh

+ 8 - 7
scripts/rebuildted2go.sh

@@ -5,19 +5,20 @@ echo ""
 echo "***** Rebuilding ted2 *****"
 echo ""
 
-$mx2cc makeapp -clean -apptype=gui -build -config=release -product=scripts/ted2go.products/$host/Ted2 ../src/ted2go/Ted2.monkey2
+$mx2cc makeapp -clean -apptype=gui -build -config=release -product=scripts/ted2go.products/$host/ted2 ../src/ted2go/Ted2.monkey2
 
-$mx2cc makeapp -clean -apptype=gui -build -config=release -product=scripts/launcher.products/$host/Launcher ../src/launcher/launcher.monkey2
+$mx2cc makeapp -clean -apptype=gui -build -config=release -product=scripts/launcher.products/$host/launcher ../src/launcher/launcher.monkey2
 
 if [ "$OSTYPE" = "linux-gnu" ]
 then
 
-	rm -r -f "$ted2"
-	mkdir "$ted2"
-	cp -R "$ted2go_new/assets" "$ted2/assets"
-	cp "$ted2go_new/Ted2" "$ted2/ted2"
+	rm -r -f $ted2
+	mkdir $ted2
+	cp -R ./ted2go.products/linux/assets $ted2/assets
+	cp ./ted2go.products/linux/ted2 $ted2/ted2
+	
 	rm -r -f "$launcher"
-	cp "$launcher_new" "$launcher"
+	cp ./launcher.products/linux/launcher "$launcher"
 
 elif [ "$OSTYPE" = "linux-gnueabihf" ]
 then

+ 8 - 7
scripts/updateted2go.sh

@@ -5,19 +5,20 @@ echo ""
 echo "***** Updating ted2 *****"
 echo ""
 
-$mx2cc makeapp -apptype=gui -build -config=release -product=scripts/ted2go.products/$host/Ted2 ../src/ted2go/Ted2.monkey2
+$mx2cc makeapp -apptype=gui -build -config=release -product=scripts/ted2go.products/$host/ted2 ../src/ted2go/Ted2.monkey2
 
-$mx2cc makeapp -apptype=gui -build -config=release -product=scripts/launcher.products/$host/Launcher ../src/launcher/launcher.monkey2
+$mx2cc makeapp -apptype=gui -build -config=release -product=scripts/launcher.products/$host/launcher ../src/launcher/launcher.monkey2
 
 if [ "$OSTYPE" = "linux-gnu" ]
 then
 
-	rm -r -f "$ted2"
-	mkdir "$ted2"
-	cp -R "$ted2go_new/assets" "$ted2/assets"
-	cp "$ted2go_new/Ted2" "$ted2/ted2"
+	rm -r -f $ted2
+	mkdir $ted2
+	cp -R ./ted2go.products/linux/assets $ted2/assets
+	cp ./ted2go.products/linux/ted2 $ted2/ted2
+	
 	rm -r -f "$launcher"
-	cp "$launcher_new" "$launcher"
+	cp ./launcher.products/linux/launcher "$launcher"
 
 elif [ "$OSTYPE" = "linux-gnueabihf" ]
 then