Skip to content

Commit

Permalink
📝 Remove mistaken notes about .mp3s.
Browse files Browse the repository at this point in the history
  • Loading branch information
GirkovArpa committed Nov 10, 2020
1 parent c9ac114 commit 76f5c70
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,28 @@
I thought it would be nice to have a concrete example of the same app made with Electron versus Sciter.
So I cloned [Clipper](https://github.com/AkashRajpurohit/clipper) in Sciter to the best of my ability.

The original as an Electron app is `165mb`.
The original as an Electron app is `165`mb.

In contrast, the Sciter release is only `6mb` (`3mb` compressed).
In contrast, the Sciter release is only `6`mb (`3`mb compressed).

I used Quark (Sciter's version of electron-builder) to pack the program's resources into a single file, and [here](https://github.com/GirkovArpa/clipper-sciter/releases) is the result (I've only packaged for Windows at the moment).
I used [Quark](https://quark.sciter.com/) (Sciter's equivalent of [electron-builder](https://www.electron.build/)) to pack the program's resources into a single executable, and [here](https://github.com/GirkovArpa/clipper-sciter/releases) is the result. I've only packaged for Windows at the moment.

Actually it didn't pack the `.mp3` files for some reason so I just zipped those up with the executable.

Not only is the filesize a magnitude of order lighter, but it starts up way faster and without an empty grey window at the beginning.
Not only is the filesize over a magnitude of order lighter, but it starts up way faster and without an empty gray window at the beginning.

## Caveats

- I haven't copied the button click waves effect from the [Materialize](https://materializecss.com/waves.html) CSS library (yet).
- I haven't implemented the button click waves effect from the [Materialize](https://materializecss.com/waves.html) CSS library (yet).

- I haven't implemented the tray icon (yet).

- ~~Inactive, offscreen popups can be scrolled into view.~~ **Fixed!** Thanks to a pull request from [4silvertooth](https://github.com/4silvertooth).

I would like to emphasize that this is my attempt at a clone, but it's not a port. Since the original Clippy is written in React, a genuine port would utilize Sciter's [Reactor](https://sciter.com/developers/sciter-docs/reactor-and-ssx/).
I would like to emphasize that this not a port, but (my attempt at) a clone. Since the original Clipper is written in React, a genuine port would utilize Sciter's [Reactor](https://sciter.com/developers/sciter-docs/reactor-and-ssx/).

## Usage

Run [`scapp.exe`](https://github.com/c-smile/sciter-sdk/tree/master/bin.win/x64) in this folder.

## Packaging

Rename `index.html` to `index.htm` and follow the Quark instructions [here](https://quark.sciter.com/quark-application-samples/hello-world/), but use this repo as the source files instead of the hello world sample.

`.mp3` files won't be packaged for some reason, so they will need to be included alongside the resulting executable.
Follow the Quark instructions [here](https://quark.sciter.com/quark-application-samples/hello-world/), but use this repository as the source folder instead of the hello world sample.

0 comments on commit 76f5c70

Please sign in to comment.