@@ -59,7 +59,7 @@ <h3>TASing:</h3>
5959 < li > Legitimate TAS script playback, controllable with tick advancing, skipping and pausing.</ li >
6060 < li > Automation tools (autostrafer, autojump, autoaim etc.)</ li >
6161 < li > Integration with < a href ="https://code.visualstudio.com/ " target ="_blank "> Visual Studio Code</ a > through the
62- < a href ="https://github.com/RainbowwPhoenixx /p2tas-lang " target ="_blank "> p2tas-lang</ a > plugin.</ li >
62+ < a href ="https://github.com/p2sr /p2tas-lang " target ="_blank "> p2tas-lang</ a > plugin.</ li >
6363 < li > Player trace, for recording and showing the path of the player's movement.</ li >
6464 </ ul >
6565
@@ -74,7 +74,7 @@ <h3>Miscellaneous:</h3>
7474
7575 < hr class ="horizontal ">
7676 < h1 id ="installation "> Installation</ h1 >
77- < p > To install SAR, download either the latest release or pre- release for your operating system, and move it to your
77+ < p > To install SAR, download the latest release for your operating system, and move it to your
7878 game folder. If you don't know where to find your game folder, you can open it through Steam by navigating to your
7979 library and selecting Portal 2. Then, right-click the game and select < i > Properties</ i > . Press < i > Local files</ i > ,
8080 and < i > Browse</ i > . The folder that opens is your game directory. Put the SAR file you just downloaded in here.
@@ -158,6 +158,16 @@ <h1 id="support">Game support</h1>
158158 < td > ✔</ td >
159159 < td > ❌ (yet)</ td >
160160 </ tr >
161+ < tr >
162+ < td > < a href ="https://store.steampowered.com/app/3281900 " target ="_blank "> The Cleaning Game</ a > </ td >
163+ < td > ✔</ td >
164+ < td > ➖</ td >
165+ </ tr >
166+ < tr >
167+ < td > Divinity Chapter 2 < i > (closed beta)</ i > </ td >
168+ < td > ✔</ td >
169+ < td > ❓</ td >
170+ </ tr >
161171 </ table >
162172 < p > If you're playing a game with no Linux support, you can use Proton to run it.</ p >
163173
@@ -172,40 +182,43 @@ <h1 id="documentation">Documentation</h1>
172182
173183 <!-- Scripts -->
174184 < script >
175- ( async function ( )
176- {
185+ ( async function ( ) {
177186 // Fetch release data from the GitHub API
178- const pre = ( await ( await fetch ( "https://api.github.com/repos/p2sr/SourceAutoRecord/releases" ) ) . json ( ) ) [ 0 ] ;
179187 const stable = ( await ( await fetch ( "https://api.github.com/repos/p2sr/SourceAutoRecord/releases/latest" ) ) . json ( ) ) ;
180188
181189 // Add download buttons to page depending on OS
182190 // FIXME: This is deprecated and MUST be updated soon. However, at the time of making this, there is not yet browser support for the new approach.
183191 // See: https://developer.mozilla.org/en-US/docs/web/api/navigator/platform
184- if ( window . navigator . platform . toLowerCase ( ) . includes ( "win" ) )
185- {
186- // TODO: Windows PDB download (assets[1])
192+ const platform = window . navigator . platform . toLowerCase ( ) ;
193+ if ( platform . includes ( "mac" ) || platform . includes ( "iphone" ) || platform . includes ( "ipad" ) ) {
194+ document . querySelector ( "#download" ) . innerHTML = `
195+ <h3>Download:</h3>\n
196+ <p>macOS is not supported. Sorry!</p>
197+ <br>
198+ <h4>Not on macOS?</h4>
199+ <a href="${ stable . assets [ 0 ] . browser_download_url } " class="off-os">Latest release (Windows) - ${ stable . name } </a>
200+ <a href="${ stable . assets [ 1 ] . browser_download_url } " class="off-os pdb" title="Makes Windows crash reports more useful for the SAR developers. If you crash, send us the report!">PDB Crash Debugger (Windows)</a>
201+ <a href="${ stable . assets [ 2 ] . browser_download_url } " class="off-os">Latest release (Linux) - ${ stable . name } </a>
202+ ` ;
203+ } else if ( platform . includes ( "win" ) ) {
187204 document . querySelector ( "#download" ) . innerHTML = `
188205 <h3>Downloads for Windows:</h3>
189206 <a href="${ stable . assets [ 0 ] . browser_download_url } " class="stable">Latest release (${ stable . name } )</a>
190- <a href="${ pre . assets [ 0 ] . browser_download_url } ">Latest pre-release ( ${ pre . name } ) </a>
207+ <a href="${ stable . assets [ 1 ] . browser_download_url } " class="stable pdb" title="Makes Windows crash reports more useful for the SAR developers. If you crash, send us the report!">PDB Crash Debugger </a>
191208 <br><br><br>
192209
193210 <h4>Not on Windows?</h4>
194211 <a href="${ stable . assets [ 2 ] . browser_download_url } " class="off-os">Latest release (Linux) - ${ stable . name } </a>
195- <a href="${ pre . assets [ 2 ] . browser_download_url } " class="off-os">Latest pre-release (Linux) - ${ pre . name } </a>
196212 ` ;
197- }
198- else
199- {
213+ } else {
200214 document . querySelector ( "#download" ) . innerHTML = `
201215 <h3>Downloads for Linux:</h3>
202216 <a href="${ stable . assets [ 2 ] . browser_download_url } " class="stable">Latest release (${ stable . name } )</a>
203- <a href="${ pre . assets [ 2 ] . browser_download_url } ">Latest pre-release (${ pre . name } )</a>
204217 <br><br><br>
205218
206219 <h4>Not on Linux?</h4>
207220 <a href="${ stable . assets [ 0 ] . browser_download_url } " class="off-os">Latest release (Windows) - ${ stable . name } </a>
208- <a href="${ pre . assets [ 0 ] . browser_download_url } " class="off-os">Latest pre-release ( Windows) - ${ pre . name } </a>
221+ <a href="${ stable . assets [ 1 ] . browser_download_url } " class="off-os pdb" title="Makes Windows crash reports more useful for the SAR developers. If you crash, send us the report!">PDB Crash Debugger (Windows) </a>
209222 ` ;
210223 }
211224 } ) ( ) ;
0 commit comments