mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-16 13:57:26 +08:00
Upd: Remove option in deploy.yaml
This commit is contained in:
@@ -25,9 +25,6 @@ Deploy:
|
|||||||
# [Other] Use false
|
# [Other] Use false
|
||||||
KeepLocalChanges: false
|
KeepLocalChanges: false
|
||||||
|
|
||||||
Plugins:
|
|
||||||
MaaAssistantArknights: false
|
|
||||||
|
|
||||||
Python:
|
Python:
|
||||||
# Filepath of python executable `python.exe`
|
# Filepath of python executable `python.exe`
|
||||||
# [Easy installer] Use './toolkit/python.exe'
|
# [Easy installer] Use './toolkit/python.exe'
|
||||||
|
|||||||
@@ -25,9 +25,6 @@ Deploy:
|
|||||||
# [Other] Use false
|
# [Other] Use false
|
||||||
KeepLocalChanges: false
|
KeepLocalChanges: false
|
||||||
|
|
||||||
Plugins:
|
|
||||||
MaaAssistantArknights: false
|
|
||||||
|
|
||||||
Python:
|
Python:
|
||||||
# Filepath of python executable `python.exe`
|
# Filepath of python executable `python.exe`
|
||||||
# [Easy installer] Use './toolkit/python.exe'
|
# [Easy installer] Use './toolkit/python.exe'
|
||||||
|
|||||||
@@ -25,9 +25,6 @@ Deploy:
|
|||||||
# [Other] Use false
|
# [Other] Use false
|
||||||
KeepLocalChanges: false
|
KeepLocalChanges: false
|
||||||
|
|
||||||
Plugins:
|
|
||||||
MaaAssistantArknights: false
|
|
||||||
|
|
||||||
Python:
|
Python:
|
||||||
# Filepath of python executable `python.exe`
|
# Filepath of python executable `python.exe`
|
||||||
# [Easy installer] Use './toolkit/python.exe'
|
# [Easy installer] Use './toolkit/python.exe'
|
||||||
|
|||||||
@@ -25,9 +25,6 @@ Deploy:
|
|||||||
# [Other] Use false
|
# [Other] Use false
|
||||||
KeepLocalChanges: false
|
KeepLocalChanges: false
|
||||||
|
|
||||||
Plugins:
|
|
||||||
MaaAssistantArknights: false
|
|
||||||
|
|
||||||
Python:
|
Python:
|
||||||
# Filepath of python executable `python.exe`
|
# Filepath of python executable `python.exe`
|
||||||
# [Easy installer] Use './toolkit/python.exe'
|
# [Easy installer] Use './toolkit/python.exe'
|
||||||
|
|||||||
@@ -25,9 +25,6 @@ Deploy:
|
|||||||
# [Other] Use false
|
# [Other] Use false
|
||||||
KeepLocalChanges: false
|
KeepLocalChanges: false
|
||||||
|
|
||||||
Plugins:
|
|
||||||
MaaAssistantArknights: false
|
|
||||||
|
|
||||||
Python:
|
Python:
|
||||||
# Filepath of python executable `python.exe`
|
# Filepath of python executable `python.exe`
|
||||||
# [Easy installer] Use './toolkit/python.exe'
|
# [Easy installer] Use './toolkit/python.exe'
|
||||||
|
|||||||
@@ -25,9 +25,6 @@ Deploy:
|
|||||||
# [Other] Use false
|
# [Other] Use false
|
||||||
KeepLocalChanges: false
|
KeepLocalChanges: false
|
||||||
|
|
||||||
Plugins:
|
|
||||||
MaaAssistantArknights: false
|
|
||||||
|
|
||||||
Python:
|
Python:
|
||||||
# Filepath of python executable `python.exe`
|
# Filepath of python executable `python.exe`
|
||||||
# [Easy installer] Use './toolkit/python.exe'
|
# [Easy installer] Use './toolkit/python.exe'
|
||||||
|
|||||||
@@ -18,9 +18,6 @@ class ConfigModel:
|
|||||||
AutoUpdate: bool = True
|
AutoUpdate: bool = True
|
||||||
KeepLocalChanges: bool = False
|
KeepLocalChanges: bool = False
|
||||||
|
|
||||||
# Plugins
|
|
||||||
MaaAssistantArknights: bool = False
|
|
||||||
|
|
||||||
# Python
|
# Python
|
||||||
PythonExecutable: str = "./toolkit/python.exe"
|
PythonExecutable: str = "./toolkit/python.exe"
|
||||||
PypiMirror: Optional[bool] = None
|
PypiMirror: Optional[bool] = None
|
||||||
|
|||||||
@@ -68,18 +68,3 @@ class GitManager(DeployConfig):
|
|||||||
proxy=self.GitProxy,
|
proxy=self.GitProxy,
|
||||||
keep_changes=self.KeepLocalChanges,
|
keep_changes=self.KeepLocalChanges,
|
||||||
)
|
)
|
||||||
logger.hr('Update Submodule', 0)
|
|
||||||
if self.MaaAssistantArknights:
|
|
||||||
repo = 'https://github.com/SaiCateDoan/AlasMaaBridge'
|
|
||||||
folder = './submodule/AlasMaaBridge'
|
|
||||||
os.makedirs(folder, exist_ok=True)
|
|
||||||
prev = os.getcwd()
|
|
||||||
os.chdir(folder)
|
|
||||||
self.git_repository_init(
|
|
||||||
repo=repo,
|
|
||||||
source='origin',
|
|
||||||
branch='master',
|
|
||||||
proxy=self.GitProxy,
|
|
||||||
keep_changes=self.KeepLocalChanges
|
|
||||||
)
|
|
||||||
os.chdir(prev)
|
|
||||||
|
|||||||
@@ -25,9 +25,6 @@ Deploy:
|
|||||||
# [Other] Use false
|
# [Other] Use false
|
||||||
KeepLocalChanges: false
|
KeepLocalChanges: false
|
||||||
|
|
||||||
Plugins:
|
|
||||||
MaaAssistantArknights: false
|
|
||||||
|
|
||||||
Python:
|
Python:
|
||||||
# Filepath of python executable `python.exe`
|
# Filepath of python executable `python.exe`
|
||||||
# [Easy installer] Use './toolkit/python.exe'
|
# [Easy installer] Use './toolkit/python.exe'
|
||||||
|
|||||||
Reference in New Issue
Block a user