Skip to content

Commit fe46106

Browse files
committed
small fixes, documentation
1 parent e5092ee commit fe46106

5 files changed

Lines changed: 49 additions & 14 deletions

File tree

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
# Poncho Wonky
2+
3+
Poncho Wonky is a new release of Patchwork. While v3.18.1 was supposed to be the last release but I have a computer and I can't be stopped.
4+
5+
So, I decided to resume working on Patchwork on my own. I am worse developer than all the other clever hands that touched this code, but I can still get things working, hence here we are.
6+
7+
## Version History for Poncho Wonky:
8+
9+
### v4.0.0
10+
11+
Very first tagged release, this should keep all the bugs from Patchwork v3.18.1 cosy in their new home. The objective of this release is to get Patchwork to build and run with a current Electron, NodeJS, and Electron-Builder release.
12+
13+
It required some changes to the codebase but very minimal ones. Mostly API changes.
14+
15+
Electron became a lot more strict since version 11 regarding executing NodeJS code in its own processes. Due to Patchwork stack relying heavily on that, I had to enable `nodeIntegration` and disable `contextIsolation` in Electron windows or it simply wouldn't run. Reworking Patchwork code to be able to run without those flags is beyond what I'm willing to do atm. Also be aware that all Patchwork versions had `nodeIntegration` set to true, so that flag is not a new thing, it is just not how most Electron-based projects like to work.
16+
17+
Besides that I had to disable ASAR which is Chromium/Electron thingy to package the webapp as a single archive. I couldn't get `electron-builder` to generate a working archive. I double checked ManyVerse and it is also disabling ASAR.
18+
19+
20+
---
21+
22+
Last Patchwork readme below...
23+
124
# :warning: **Patchwork v3.18.1 was the last release!** :warning:
225

326
This release is meant to tide us over so that other clients can take it from here.

docs/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
### Security
1515
-->
1616

17+
## v4.0.0 - 2025-11-25
18+
### Added
19+
### Changed
20+
- Upgraded Electron to 39
21+
- Upgraded Electron-Builder to 26
22+
- Building with NodeJS 24
23+
### Deprecated
24+
### Removed
25+
- Removed `require-styles` and created equivalent routine where appropriate.
26+
### Fixed
27+
### Security
28+
1729
## v3.18.1 - 2021-04-05
1830

1931
**Last proper release of Patchwork!**

docs/release-notes-template.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
:tada: **Thanks for downloading Patchwork!** :tada:
1+
:tada: **Thanks for downloading Poncho Wonky!** :tada:
22

33
## Install
44

5-
Use [your favorite package manager](https://github.com/ssbc/patchwork#installation) or install manually.
5+
Use [your favorite package manager](https://github.com/soapdog/patchwork#installation) or install manually.
66

77
### Windows
88

@@ -18,17 +18,16 @@ You must [allow apps from "unidentified" developers](https://support.apple.com/k
1818

1919
**[`Patchwork-$$VERSION.AppImage`][appimage]**
2020

21-
You may need to [fix the sandbox](https://github.com/ssbc/patchwork/blob/master/docs/INSTALL.md#sandbox).
21+
You may need to [fix the sandbox](https://github.com/soapdog/patchwork/blob/master/docs/INSTALL.md#sandbox).
2222

23-
There are also releases for Debian and Snapcraft:
23+
There are also releases for Debian:
2424

2525
- **Debian:** [`ssb-patchwork_$$VERSION_amd64.deb`][deb]
26-
- **Snapcraft:** [`ssb-patchwork_$$VERSION_amd64.snap`][snap]
27-
- You must install with `snap install --dangerous` because it's unsigned.
26+
2827

2928
## Getting started
3029

31-
If this is your first time on Scuttlebutt you may need an invite to get connected. After installing Patchwork and choosing your name you should select the **Join Pub** button. You'll need to [get a pub invite](https://github.com/ssbc/ssb-server/wiki/Pub-Servers#public-pubs), paste it into the prompt, and select **Redeem invite**.
30+
If this is your first time on Scuttlebutt you may need an invite to get connected. After installing Patchwork and choosing your name you should select the **Join Pub** button. You'll need to [get a pub invite](https://github.com/soapdog/ssb-server/wiki/Pub-Servers#public-pubs), paste it into the prompt, and select **Redeem invite**.
3231

3332
You can find more information in the [Getting Started Guide](https://www.scuttlebutt.nz/getting-started).
3433

@@ -38,13 +37,13 @@ $$CHANGES
3837
3938
:thinking: [Any questions? Check out the Scuttlebutt FAQ!](https://www.scuttlebutt.nz/faq/)
4039
41-
:sos: [Need help? Please create an issue!](https://github.com/ssbc/patchwork/issues/new)
40+
:sos: [Need help? Please create an issue!](https://github.com/soapdog/patchwork/issues/new)
4241
43-
[appimage]: https://github.com/ssbc/patchwork/releases/download/v$$VERSION/Patchwork-$$VERSION.AppImage
44-
[dmg]: https://github.com/ssbc/patchwork/releases/download/v$$VERSION/Patchwork-$$VERSION.dmg
45-
[deb]: https://github.com/ssbc/patchwork/releases/download/v$$VERSION/ssb-patchwork_$$VERSION_amd64.deb
46-
[snap]: https://github.com/ssbc/patchwork/releases/download/v$$VERSION/ssb-patchwork_$$VERSION_amd64.snap
47-
[exe]: https://github.com/ssbc/patchwork/releases/download/v$$VERSION/Patchwork-Setup-$$VERSION.exe
42+
[appimage]: https://github.com/soapdog/patchwork/releases/download/v$$VERSION/Patchwork-$$VERSION.AppImage
43+
[dmg]: https://github.com/soapdog/patchwork/releases/download/v$$VERSION/Patchwork-$$VERSION.dmg
44+
[deb]: https://github.com/soapdog/patchwork/releases/download/v$$VERSION/ssb-patchwork_$$VERSION_amd64.deb
45+
[snap]: https://github.com/soapdog/patchwork/releases/download/v$$VERSION/ssb-patchwork_$$VERSION_amd64.snap
46+
[exe]: https://github.com/soapdog/patchwork/releases/download/v$$VERSION/Patchwork-Setup-$$VERSION.exe
4847
[npm]: https://npmjs.org/
4948
[yarn]: https://yarnpkg.com/en/
5049
[yay]: https://github.com/Jguer/yay

electron-builder.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ module.exports = {
7171
},
7272

7373
appImage: {
74+
artifactName: '${name}-${version}-linux-${arch}.${ext}',
7475
},
7576

7677
// Mac-specific configurations -----------------------------------------------

lib/window.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ module.exports = function Window(
7777
});
7878

7979
// TODO: better way to determine whether this is the main window ?
80-
if (opts.title === "Patchwonky") {
80+
if (opts.title === "Poncho Wonky") {
8181
setupContextMenu(
8282
config,
8383
serverDevToolsCallback,

0 commit comments

Comments
 (0)