Skip to content

Commit 4255f5a

Browse files
committed
Making windows uninstallation messages similar to linux and updating docs
1 parent 6e2df35 commit 4255f5a

File tree

7 files changed

+28
-28
lines changed

7 files changed

+28
-28
lines changed

build.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
<body>
2929
<header id="title-block-header">
3030
</header>
31-
<h1 id="building-pyradio-from-source">Building PyRadio from source</h1>
32-
<p>Command line internet radio player.</p>
31+
<h1 id="pyradio-build-instructions">PyRadio Build Instructions</h1>
32+
<p><strong>PyRadio</strong>: Command line internet radio player.</p>
3333
<p>Ben Dowling - <a target="_blank" href="https://github.com/coderholic">https://github.com/coderholic</a></p>
3434
<h2 id="table-of-contents">Table of contents <span style="padding-left: 10px;"><sup style="font-size: 50%"><a href="#" title="Go to top of the page">Top</a></sup></style></h2>
3535
<ul>

build.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Building PyRadio from source
1+
# PyRadio Build Instructions
22

3-
Command line internet radio player.
3+
**PyRadio**: Command line internet radio player.
44

55
Ben Dowling - [https://github.com/coderholic](https://github.com/coderholic)
66

devel/build_install_pyradio.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,11 @@ goto :endofscript
147147
echo Uninstalling PyRadio
148148
echo ** Gathering information...
149149
DEL pyremove.bat 2>nul
150-
echo echo ** Removing executable... >>pyremove.bat
151-
echo echo ** Removing Desktop shortcut... >>pyremove.bat
150+
echo echo ** Removing executable ... done>>pyremove.bat
151+
echo echo ** Removing Desktop shortcut ... done >>pyremove.bat
152152
echo IF EXIST "%DESKTOP%\PyRadio.lnk" DEL "%DESKTOP%\PyRadio.lnk" 2>nul >>pyremove.bat
153153
python devel\site.py exe 2>nul >>pyremove.bat
154-
REM echo echo ** Removing Python files... >>pyremove.bat
154+
REM echo echo ** Removing Python files ... done >>pyremove.bat
155155
python devel\site.py 2>nul >dirs
156156
python2 devel\site.py 2>nul >>dirs
157157
python3 devel\site.py 2>nul >>dirs

devel/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ do
1111
elif [ "$afile" = "build.md" ];then
1212
echo '% PyRadio Build Instructions' > tmp.md
1313
elif [ "$afile" = "windows.md" ];then
14-
echo '% Running PyRadio on Windows' > tmp.md
14+
echo '% PyRadio on Windows' > tmp.md
1515
fi
1616
cat ${afile} >> tmp.md
1717
pandoc -s -t html tmp.md -o ${out} || {

devel/windirs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ def show_python_dirs():
3535
with open("pyremove.bat", "a") as f:
3636
f.write('echo Looking for python installed files...\n')
3737
for a_dir in pydirs:
38-
f.write('echo ** "{}"\n'.format(basename(a_dir)))
38+
f.write('echo ** Removing "{}" ... done \n'.format(basename(a_dir)))
3939
f.write('RD /S /Q "{}"\n'.format(a_dir))

windows.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8" />
55
<meta name="generator" content="pandoc" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
7-
<title>Running PyRadio on Windows</title>
7+
<title>PyRadio on Windows</title>
88
<style>
99
html {margin: 2em;}
1010
h2 {margin-top: 2.5em; border-bottom:1px solid #D6D6D6;}
@@ -28,8 +28,8 @@
2828
<body>
2929
<header id="title-block-header">
3030
</header>
31-
<h1 id="pyradio">PyRadio</h1>
32-
<p>Command line internet radio player.</p>
31+
<h1 id="pyradio-on-windows">PyRadio on Windows</h1>
32+
<p><strong>PyRadio</strong>: Command line internet radio player.</p>
3333
<p>Ben Dowling - <a target="_blank" href="https://github.com/coderholic">https://github.com/coderholic</a></p>
3434
<h2 id="table-of-contents">Table of contents <span style="padding-left: 10px;"><sup style="font-size: 50%"><a href="#" title="Go to top of the page">Top</a></sup></style></h2>
3535
<ul>
@@ -203,20 +203,20 @@ <h4 id="updating-without-git">5.2 Updating without Git</h4>
203203
<p>The procedure is the same as installing, so please follow the <a href="#not-using-git">relevant instructions</a>.</p>
204204
<h3 id="uninstalling-pyradio-or-cleaning-up">6. Uninstalling Pyradio (or Cleaning up) <span style="padding-left: 10px;"><sup style="font-size: 50%"><a href="#" title="Go to top of the page">Top</a></sup></style></h3>
205205
<p>To uninstall <strong>PyRadio</strong> you will have to use the “<strong>-u</strong>” (uninstall) parameter.</p>
206-
<p>This procedure will remove any <strong>Pyradio</strong> files installed in your system, but will leave instact <strong>PyRadio</strong> configuration files or uninstall python, mplayer, or git from your system.</p>
206+
<p>This procedure will remove any <strong>Pyradio</strong> files installed in your system, but will leave instact <strong>PyRadio</strong> configuration files and python, mplayer and git (if installed).</p>
207207
<p>To uninstall <strong>PyRadio</strong> open a console (press the <strong>Win</strong> key, type <strong>cmd</strong> and press <strong>ENTER</strong> or if you are on Windows 10, use <strong>Run it as Administrator</strong> as you can see in the following image).</p>
208208
<p><a target="_blank" href="https://members.hellug.gr/sng/pyradio/run-as-admin.jpg">Run as Administrator</a></p>
209209
<p>Then navigate to the previously downloaded <strong>Pyradio</strong> setup folder, and execute <em>devel\build_install_pyradio -u</em>.</p>
210210
<p>Example:</p>
211211
<pre>C:\Users\spiros\pyradio&gt;devel\build_install_pyradio -u
212212
Uninstalling PyRadio
213213
** Gathering information...
214-
** Removing executable...
215-
** Removing Desktop shortcut...
214+
** Removing executable ... done
215+
** Removing Desktop shortcut ... done
216216
Looking for python installed files...
217-
** &quot;pyradio-0.8.8-py3.7.egg&quot;
218-
** &quot;pyradio-0.7.9-py3.7.egg&quot;
219-
** &quot;pyradio-0.6.3-py3.7.egg&quot;
217+
** Removing &quot;pyradio-0.8.8-py3.7.egg&quot; ... done
218+
** Removing &quot;pyradio-0.7.9-py3.7.egg&quot; ... done
219+
** Removing &quot;pyradio-0.6.3-py3.7.egg&quot; ... done
220220
Pyradio successfully uninstalled!
221221

222222
*********************************************************
@@ -229,7 +229,7 @@ <h3 id="uninstalling-pyradio-or-cleaning-up">6. Uninstalling Pyradio (or Cleanin
229229

230230
**********************************************************</pre>
231231
<p>In this example, running <em>devel\build_install_pyradio -u</em> has removed <strong>PyRadio</strong> python 3.7 installation files.</p>
232-
<p>The script has detected (and removed) version <em>8.8</em> (probably the current or previous version), along with verisons <em>7.9</em> and <em>6.3</em> (older versions previously installed).</p>
232+
<p>The script has detected (and removed) version <em>0.8.8</em> (probably the current or previous version), along with verisons <em>0.7.9</em> and <em>0.6.3</em> (older versions previously installed).</p>
233233
<p>I would recommend to execute <em>devel\build_install_pyradio -u</em> from time to time, and reinstall <strong>PyRadio</strong> right after its completion.</p>
234234
</body>
235235
</html>

windows.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# PyRadio
1+
# PyRadio on Windows
22

3-
Command line internet radio player.
3+
**PyRadio**: Command line internet radio player.
44

55
Ben Dowling - [https://github.com/coderholic](https://github.com/coderholic)
66

@@ -288,7 +288,7 @@ The procedure is the same as installing, so please follow the [relevant instruct
288288

289289
To uninstall **PyRadio** you will have to use the "**-u**" (uninstall) parameter.
290290

291-
This procedure will remove any **Pyradio** files installed in your system, but will leave instact **PyRadio** configuration files or uninstall python, mplayer, or git from your system.
291+
This procedure will remove any **Pyradio** files installed in your system, but will leave instact **PyRadio** configuration files and python, mplayer and git (if installed).
292292

293293
To uninstall **PyRadio** open a console (press the **Win** key, type **cmd** and press **ENTER** or if you are on Windows 10, use **Run it as Administrator** as you can see in the following image).
294294

@@ -301,12 +301,12 @@ Example:
301301
C:\Users\spiros\pyradio>devel\build_install_pyradio -u
302302
Uninstalling PyRadio
303303
** Gathering information...
304-
** Removing executable...
305-
** Removing Desktop shortcut...
304+
** Removing executable ... done
305+
** Removing Desktop shortcut ... done
306306
Looking for python installed files...
307-
** "pyradio-0.8.8-py3.7.egg"
308-
** "pyradio-0.7.9-py3.7.egg"
309-
** "pyradio-0.6.3-py3.7.egg"
307+
** Removing "pyradio-0.8.8-py3.7.egg" ... done
308+
** Removing "pyradio-0.7.9-py3.7.egg" ... done
309+
** Removing "pyradio-0.6.3-py3.7.egg" ... done
310310
Pyradio successfully uninstalled!
311311

312312
*********************************************************
@@ -321,6 +321,6 @@ Example:
321321

322322
In this example, running *devel\\build_install_pyradio -u* has removed **PyRadio** python 3.7 installation files.
323323

324-
The script has detected (and removed) version *8.8* (probably the current or previous version), along with verisons *7.9* and *6.3* (older versions previously installed).
324+
The script has detected (and removed) version *0.8.8* (probably the current or previous version), along with verisons *0.7.9* and *0.6.3* (older versions previously installed).
325325

326326
I would recommend to execute *devel\\build_install_pyradio -u* from time to time, and reinstall **PyRadio** right after its completion.

0 commit comments

Comments
 (0)