diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 2e85ecd7..d0013a19 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -39,7 +39,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: Built files - path: | - EDMarketConnector_win*.msi - dist.win32\EDMarketConnector.exe - appcast_win_*.xml + path: EDMarketConnector_win*.msi diff --git a/setup.py b/setup.py index 12953b0f..6d71fb6b 100755 --- a/setup.py +++ b/setup.py @@ -222,36 +222,3 @@ elif sys.platform == 'win32': os.system(r'cscript /nologo "%s\WiSubStg.vbs" %s %s\%d.mst %d' % (SDKPATH, PKG, gettempdir(), lcid, lcid)) else: raise AssertionError('Unsupported platform') - -if not exists(PKG): - raise AssertionError('No %s found prior to appcast' % (PKG)) -# Make appcast entry -appcast = open('appcast_%s_%s.xml' % (sys.platform=='darwin' and 'mac' or 'win', VERSION), 'w') -appcast.write(''' -\t\t -\t\t\tRelease {VERSION} -\t\t\t -\t\t\t\t{STYLE} -

Release {VERSION}

- -\t\t\t\t]]> -\t\t\t
-\t\t\t -\t\t
-'''.format(VERSION=VERSION, - STYLE='{}'.format( - sys.platform=='win32' and 'body { font-family:"Segoe UI","Tahoma"; font-size: 75%; } h2 { font-family:"Segoe UI","Tahoma"; font-size: 105%; }' - or 'h2 { font-size: 105%; }'), - PKG=PKG, - OS=''.format(sys.platform=='win32' and 'windows"\n\t\t\t\tsparkle:installerArguments="/passive LAUNCH=yes' or 'macos'), - LENGTH=os.stat(PKG).st_size) -)