Skip to content

Commit

Permalink
fix: GitHub链接不正确的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxuuu committed Aug 22, 2023
1 parent ac0b45a commit 85fc731
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,14 @@ def DownloadAndCheck(url, fileName, host, suffixName):
temp['checksum'] = "SHA-256:" + ComputeSHA256(tempPath)
temp['size'] = ComputeSize(tempPath)

tempCn = temp
tempCn = temp.copy()
tempCn['url'] = "https://arduino.luatos.com/" + fileName + suffixName
return temp, tempCn


def GCC():
data = {'name': "xpack-arm-none-eabi-gcc", 'version': GCCVersion}
dataCn = data
dataCn = data.copy()
system = []
systemCn = []

Expand Down Expand Up @@ -147,7 +147,7 @@ def f(host, suffixName):

def AirISP():
data = {'name': "AirISP", 'version': AirISPVersion}
dataCn = data
dataCn = data.copy()
system = []
systemCn = []

Expand Down Expand Up @@ -185,7 +185,7 @@ def f(host, suffixName):

def CMSIS():
data = {'name': "CMSIS", 'version': CMSISVersion}
dataCn = data
dataCn = data.copy()
system = []
systemCn = []

Expand Down Expand Up @@ -240,7 +240,7 @@ def PlatformsAirMCU(version):
data['toolsDependencies'] = [{'packager': "AirM2M", 'name': "xpack-arm-none-eabi-gcc", 'version': GCCVersion},
{'packager': "AirM2M", 'name': "CMSIS", 'version': CMSISVersion},
{'packager': "AirM2M", 'name': "AirISP", 'version': AirISPVersion}]
dataCn = data
dataCn = data.copy()
dataCn['url'] = "https://arduino.luatos.com/" + fileName
return data, dataCn

Expand Down Expand Up @@ -278,7 +278,7 @@ def PackagesAirM2M():
toolsCn.append(tempCn)

data['tools'] = tools
dataCn = data
dataCn = data.copy()
dataCn['tools'] = toolsCn
return data, dataCn

Expand Down

0 comments on commit 85fc731

Please sign in to comment.