Skip to content

Commit

Permalink
Update install.py- fixing #196 (windows installation)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-n-g authored Jun 8, 2023
1 parent 1263e37 commit 37bcbfc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pyradio/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ def update_or_uninstall_on_windows(self, mode='update', from_pyradio=False):
else:
b.write(self._python_exec.python + ' install.py --no-logo --do-update ' + params[self._package] + '\n')
b.write('if %ERRORLEVEL% == 1 GOTO downloaderror\n')
b.write('cd "' + os.path.join(self._dir, self.ZIP_DIR[self._package]) + '"\n')
b.write('cd "' + os.path.join(self._dir, 'pyradio-source') + '"\n')

b.write('IF EXIST C:\\Users\\Spiros\\pyradio (\n')
# b.write('COPY C:\\Users\\Spiros\\pyradio\\pyradio\\install.py pyradio\n')
Expand All @@ -971,7 +971,7 @@ def update_or_uninstall_on_windows(self, mode='update', from_pyradio=False):
# print('self._dir = "{}"'.format(self._dir))
# print('self._package = "{}"'.format(self._package))
# print('self.ZIP_DIR = "{}"'.format(self.ZIP_DIR))
b.write('cd "' + os.path.join(self._dir, self.ZIP_DIR[self._package]) + '"\n')
b.write('cd "' + os.path.join(self._dir, 'pyradio-source') + '"\n')

b.write('IF EXIST C:\\Users\\Spiros\\pyradio (\n')
# b.write('COPY C:\\Users\\Spiros\\pyradio\\pyradio\\install.py pyradio\n')
Expand Down Expand Up @@ -1638,5 +1638,3 @@ def _do_it(self, mode='update'):
if args.get_cache:
uni._get_cache = True
uni.update_pyradio()


0 comments on commit 37bcbfc

Please sign in to comment.