Skip to content

Commit

Permalink
formatted and made DX better
Browse files Browse the repository at this point in the history
  • Loading branch information
redstone-dev committed Nov 12, 2022
1 parent ec0ad1e commit 70a98eb
Show file tree
Hide file tree
Showing 14 changed files with 559 additions and 7,196 deletions.
29 changes: 22 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ An amazing and elegant ElectronJS web browser. A fork of the [Catalyst](https://

---

Platinum is a hobby project entirely managed and written by the community. It is an Electron/Chromium based web browser that really doesn't have a purpose, the contributors are below
Platinum is a hobby project entirely managed and written by the community. It is an Electron/Chromium based web browser that aims to make Electron browsers viable. the contributors are below

## Installation Instructions
1. Go to the Releases tab on the GitHub repo (or just click [this link](https://github.com/redstone-scratch/Platinum/releases)) or click on the release underneath the "Releases" text.
Expand All @@ -21,24 +21,39 @@ Platinum is a hobby project entirely managed and written by the community. It is
4. Open the downloaded file then let Platinum install!

## Building from source
### Windows
### On Windows
Run
```
git clone https://github.com/redstone-scratch/Platinum && cd Platinum
npm/pnpm install
npm/pnpm run tailwind:once
npm/pnpm run make
.\build
```
The output is in the out directory.

### Linux
### On Linux
Run
```
git clone https://github.com/redstone-scratch/Platinum && cd Platinum
bash build.sh
```
The output is in the out directory.

## Dev instructions
If you need to quickly test a feature:
### Windows
Run
```
.\dev
```


### Linux
Run
```
bash dev.sh
```

Either way, Platinum will then launch in dev. It's configured by default to enable :sparkle: special testing features.

## Contributors

<table>
Expand Down Expand Up @@ -118,4 +133,4 @@ The output is in the out directory.
</tr>
</table>

This section will update automatically as we get contribut*o*rs.
This section will update automatically as we get contributors.
5 changes: 5 additions & 0 deletions build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@echo off

npm install
npm run tailwind:once
npm run make
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

npm install
npm run tailwind:once
npm run make
4 changes: 4 additions & 0 deletions dev.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@echo off

npm run tailwind:once
npm run start
4 changes: 4 additions & 0 deletions dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

npm run tailwind:once
npm run start
Loading

0 comments on commit 70a98eb

Please sign in to comment.