From 8031f66226dfb9c8640b585d6e84431d92fad0f2 Mon Sep 17 00:00:00 2001 From: elasota Date: Sat, 17 Oct 2020 17:39:56 -0400 Subject: [PATCH] Add source package --- AerofoilAndroid/app/src/main/assets/.gitignore | 1 + AerofoilAndroid/copy_source_package.bat | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 AerofoilAndroid/copy_source_package.bat diff --git a/AerofoilAndroid/app/src/main/assets/.gitignore b/AerofoilAndroid/app/src/main/assets/.gitignore index 8075e75..bf5ce4f 100644 --- a/AerofoilAndroid/app/src/main/assets/.gitignore +++ b/AerofoilAndroid/app/src/main/assets/.gitignore @@ -1,2 +1,3 @@ Packaged Resources +SourceCode.pkg \ No newline at end of file diff --git a/AerofoilAndroid/copy_source_package.bat b/AerofoilAndroid/copy_source_package.bat new file mode 100644 index 0000000..858c418 --- /dev/null +++ b/AerofoilAndroid/copy_source_package.bat @@ -0,0 +1,7 @@ +cd .. +del AerofoilAndroid\app\src\main\assets\SourceCode.zip +del AerofoilAndroid\app\src\main\assets\SourceCode.pkg +git archive -0 --format zip -o AerofoilAndroid\app\src\main\assets\SourceCode.zip HEAD +tools\7z.exe d AerofoilAndroid\app\src\main\assets\SourceCode.zip GliderProData\ +cd AerofoilAndroid\app\src\main\assets +rename SourceCode.zip SourceCode.pkg