This commit is contained in:
Ethan Smith-Coss 2021-06-24 00:01:06 +01:00
commit 0f397879d7
3 changed files with 39 additions and 26 deletions

View File

@ -12,8 +12,7 @@ DISCLAIMER: Currently this program can only update the Beta release of Microsoft
Options: Options:
-nn, --no-notify Prevent notifications from being set after a session. -nn, --no-notify Prevent notifications from being set after a session.
--mode= Set the mode of the program to be ran in. Default mode --mode= Set the mode of the program to be ran in. Default mode occurs without this flag.
occurs without this flag.
* debug - run program in debug mode. * debug - run program in debug mode.
-y, --yes-all Assume yes to all yes/no decisions. -y, --yes-all Assume yes to all yes/no decisions.
-v, --version Print out the version of the script and exit. -v, --version Print out the version of the script and exit.

View File

@ -15,27 +15,29 @@
.P .P
.PD .PD
Prevent notifications from being sent after a session. Prevent notifications from being sent after a session.
.IP \[bu] 2
\f[C]\-\-mode=[debug]\f[R]
.PD 0 .PD 0
.P .P
.PD .PD
Set the mode of the program to be ran in.
Default mode occurs without this flag.
.RS 2
.IP \[bu] 2
\f[B]\f[BI]debug\f[B]\f[R] \- run program in debug mode.
.RE
.IP \[bu] 2 .IP \[bu] 2
\f[C]\-y, \-\-yes\-all\f[R] \f[C]\-y, \-\-yes\-all\f[R]
.PD 0 .PD 0
.P .P
.PD .PD
Assume yes to all yes/no decisions. Assume yes to all yes/no decisions.
.PD 0
.P
.PD
.IP \[bu] 2 .IP \[bu] 2
\f[C]\-v, \-\-version\f[R] \f[C]\-v, \-\-version\f[R]
.PD 0 .PD 0
.P .P
.PD .PD
Print out the version of the script and exit. Print out the version of the script and exit.
.PD 0
.P
.PD
.IP \[bu] 2 .IP \[bu] 2
\f[C]\-h, \-\-help\f[R] \f[C]\-h, \-\-help\f[R]
.PD 0 .PD 0
@ -75,18 +77,24 @@ A later release may allow for update of Dev build and potentially both.
.PP .PP
\f[C]updater\f[R] has been known to successfully run, download and \f[C]updater\f[R] has been known to successfully run, download and
update Microsoft Edge (Beta) on Solus 4.2 Fortitude, Kernel version update Microsoft Edge (Beta) on Solus 4.2 Fortitude, Kernel version
5.11.21\-179. 5.11.21\-179 and later.
.SH DEPENDENCIES .SH DEPENDENCIES
.IP \[bu] 2 .IP \[bu] 2
bash bash
.IP \[bu] 2 .IP \[bu] 2
wget wget
.IP \[bu] 2 .IP \[bu] 2
git
.IP \[bu] 2
gunzip gunzip
.IP \[bu] 2 .IP \[bu] 2
tar tar
.IP \[bu] 2 .IP \[bu] 2
sort (>= 8.32) coreutils (>=8.32)
.IP \[bu] 2
binutils (>=2.35.1)
.IP \[bu] 2
procps (only Busybox\-based systems)
.SH FILES .SH FILES
.IP \[bu] 2 .IP \[bu] 2
\f[C]source.list\f[R] \[em] \f[C]source.list\f[R] \[em]
@ -112,27 +120,27 @@ information.
This line can be broken into 4 parts This line can be broken into 4 parts
.RS 2 .RS 2
.IP "1." 3 .IP "1." 3
\f[C][dists=amd64]\f[R] \- \f[C][dists=amd64]\f[R] \[em]
.PD 0 .PD 0
.P .P
.PD .PD
This tells the updater which package architecture it should download for This tells the updater which package architecture it should download for
the system. the system.
.IP "2." 3 .IP "2." 3
\f[C]<https URL>\f[R] \- \f[C]<https URL>\f[R] \[em]
.PD 0 .PD 0
.P .P
.PD .PD
The URL which points to the distribution repository on the Microsoft The URL which points to the distribution repository on the Microsoft
Packages server. Packages server.
.IP "3." 3 .IP "3." 3
\f[C]main\f[R] \- \f[C]main\f[R] \[em]
.PD 0 .PD 0
.P .P
.PD .PD
The main branch of the distribution repository. The main branch of the distribution repository.
.IP "4." 3 .IP "4." 3
\f[C]stable\f[R] \- \f[C]stable\f[R] \[em]
.PD 0 .PD 0
.P .P
.PD .PD
@ -229,7 +237,7 @@ Consult the logs to identify which command returned the exit code.
Ethan Smith\-Coss Ethan Smith\-Coss
.SH CONTRIBUTORS .SH CONTRIBUTORS
.IP \[bu] 2 .IP \[bu] 2
Robert Morrison \- Documentation Robert Morrison \[em] Documentation
.SS Contacting .SS Contacting
.PP .PP
All contacts should be done through Issues on Gitea. All contacts should be done through Issues on Gitea.

View File

@ -14,13 +14,16 @@ date: May 24, 2021
# OPTIONS # OPTIONS
* `-nn, --no-notify` * `-nn, --no-notify`
Prevent notifications from being sent after a session. Prevent notifications from being sent after a session.
* `--mode=[debug]`
Set the mode of the program to be ran in. Default mode occurs without this flag.
* ___debug___ - run program in debug mode.
* `-y, --yes-all` * `-y, --yes-all`
Assume yes to all yes/no decisions. Assume yes to all yes/no decisions.
* `-v, --version` * `-v, --version`
Print out the version of the script and exit. Print out the version of the script and exit.
* `-h, --help` * `-h, --help`
Print this help message and exit Print this help message and exit
# DESCRIPTION # DESCRIPTION
@ -53,14 +56,17 @@ A later release may allow for update of Dev build and potentially both.
### Testing Systems ### Testing Systems
`updater` has been known to successfully run, `updater` has been known to successfully run,
download and update Microsoft Edge (Beta) on Solus 4.2 Fortitude, download and update Microsoft Edge (Beta) on Solus 4.2 Fortitude,
Kernel version 5.11.21-179. Kernel version 5.11.21-179 and later.
# DEPENDENCIES # DEPENDENCIES
* bash * bash
* wget * wget
* git
* gunzip * gunzip
* tar * tar
* sort (>= 8.32) * coreutils (>=8.32)
* binutils (>=2.35.1)
* procps (only Busybox-based systems)
# FILES # FILES
* `source.list` * `source.list`
@ -75,15 +81,15 @@ Kernel version 5.11.21-179.
* `[dists]` * `[dists]`
Most iconic line and resembles that of an APT entry for package information. Most iconic line and resembles that of an APT entry for package information.
This line can be broken into 4 parts This line can be broken into 4 parts
1. `[dists=amd64]` - 1. `[dists=amd64]`
This tells the updater which package architecture it This tells the updater which package architecture it
should download for the system. should download for the system.
2. `<https URL>` - 2. `<https URL>`
The URL which points to the distribution repository The URL which points to the distribution repository
on the Microsoft Packages server. on the Microsoft Packages server.
3. `main` - 3. `main`
The main branch of the distribution repository. The main branch of the distribution repository.
4. `stable` - 4. `stable`
The type of release that should be installed to the system. The type of release that should be installed to the system.
* `[pool]` * `[pool]`
The prefix URL to the repository end-point that stores the latest releases. The prefix URL to the repository end-point that stores the latest releases.
@ -130,7 +136,7 @@ Kernel version 5.11.21-179.
* Ethan Smith-Coss * Ethan Smith-Coss
# CONTRIBUTORS # CONTRIBUTORS
* Robert Morrison - Documentation * Robert Morrison Documentation
## Contacting ## Contacting
All contacts should be done through Issues on Gitea. All contacts should be done through Issues on Gitea.