fastlane-plugin-unity_exporter 1.3.2 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cad649f6ebbc0102d8e2d8295a76350b09b4fbd9873d2581ac65971b6a156ac5
|
4
|
+
data.tar.gz: e043af9dd9db9a8372866e822487bb47d82363937bd9d6d9d263798ca50c090e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de4f1d457398aa20fd87cb4dabe052cad7819a5c12e54d968f3b7b79c18235f93d2f1bbf5e2e211282867c2fbe38106770bd387d8ac70f2a26c38601e3490880
|
7
|
+
data.tar.gz: 2f510f3242214de7440bea574cfc367a6bfbeaec6fd3ebebf0db5c43eee185526517f0e473a67204ece53015e84ef9219f562ac5bf8c00917db1f105fd3c9ba7
|
@@ -26,7 +26,7 @@ module Fastlane
|
|
26
26
|
headless_args << " -batchmode -nographics -quit" # some arguments that are required when running Unity in headless-mode
|
27
27
|
headless_args << " -accept-apiupdate -releaseCodeOptimization"
|
28
28
|
headless_args << " -projectPath #{Helper::UnityEditorHelper.unity_project_path}"
|
29
|
-
headless_args << " -logFile
|
29
|
+
headless_args << " -logFile #{Helper::UnityEditorHelper.unity_project_path}/BuildExporter/#{DateTime.now.strftime('%Y-%m-%d_%H-%M-%S-%L')}_#{params[:build_target]}_build.log" # logging; not specifying a path will print the log to the console
|
30
30
|
|
31
31
|
# following are custom arguments defined in 'UnityExporter.BuildUtility'
|
32
32
|
# this script is part of the 'fastlane-plugin-unity-exporter-package'
|
@@ -9,12 +9,12 @@ module Fastlane
|
|
9
9
|
module Helper
|
10
10
|
class UnityEditorHelper
|
11
11
|
# project path relative if following hierarchy is given: "root/{unity-project}/fastlane-build-exporter/{platform}-export/."
|
12
|
-
# p File.expand_path("
|
13
|
-
@project_path_default = "
|
12
|
+
# p File.expand_path("../..")
|
13
|
+
@project_path_default = "../.."
|
14
14
|
@project_path = ""
|
15
15
|
|
16
16
|
def self.unity_project_path
|
17
|
-
project_path = @project_path == "" ?
|
17
|
+
project_path = @project_path == "" ? @project_path_default : @project_path
|
18
18
|
|
19
19
|
# we verify the path to the Unity project by looking for the 'manifest.json' file
|
20
20
|
package_manifest_path = "#{project_path}/Packages/manifest.json"
|