Skip to content

Commit bf6be46

Browse files
update
1 parent f1e2686 commit bf6be46

3 files changed

Lines changed: 54 additions & 29 deletions

File tree

.github/workflows/build.yml

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -61,32 +61,34 @@ jobs:
6161
release: false
6262
args: --win --dir # Build win-unpacked only
6363

64-
# - name: upload-unsigned-artifact
65-
# id: upload-unsigned-artifact
66-
# uses: actions/upload-artifact@v4
67-
# with:
68-
# #path: dist-win32
69-
# path: dist-win32/win-unpacked/Pinokio.exe
70-
# retention-days: 1
71-
#
72-
# - id: Sign
73-
# if: ${{ runner.os == 'Windows' }}
74-
# uses: signpath/github-action-submit-signing-request@v1.1
75-
# with:
76-
# api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
77-
# organization-id: 'd2da0df2-dc12-4516-8222-87178d5ebf3d'
78-
# project-slug: 'pinokio'
79-
# signing-policy-slug: 'test-signing'
80-
# github-artifact-id: '${{ steps.upload-unsigned-artifact.outputs.artifact-id }}'
81-
# wait-for-completion: true
82-
# output-artifact-directory: './signed-windows'
83-
# parameters: |
84-
# version: ${{ toJSON(github.ref_name) }}
85-
#
86-
# # Replace the unsigned exe with the signed exe
87-
# - name: Replace with signed exe
88-
# run: |
89-
# copy /Y ".\signed-windows\Pinokio.exe" ".\dist-win32\win-unpacked\Pinokio.exe"
64+
### sign start
65+
- name: upload-unsigned-artifact
66+
id: upload-unsigned-artifact
67+
uses: actions/upload-artifact@v4
68+
with:
69+
#path: dist-win32
70+
path: dist-win32/win-unpacked/Pinokio.exe
71+
retention-days: 1
72+
73+
- id: Sign
74+
if: ${{ runner.os == 'Windows' }}
75+
uses: signpath/github-action-submit-signing-request@v1.1
76+
with:
77+
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
78+
organization-id: 'd2da0df2-dc12-4516-8222-87178d5ebf3d'
79+
project-slug: 'pinokio'
80+
signing-policy-slug: 'test-signing'
81+
github-artifact-id: '${{ steps.upload-unsigned-artifact.outputs.artifact-id }}'
82+
wait-for-completion: true
83+
output-artifact-directory: './signed-windows'
84+
parameters: |
85+
version: ${{ toJSON(github.ref_name) }}
86+
87+
# Replace the unsigned exe with the signed exe
88+
- name: Replace with signed exe
89+
run: |
90+
copy /Y ".\signed-windows\Pinokio.exe" ".\dist-win32\win-unpacked\Pinokio.exe"
91+
### sign end
9092

9193
# Build the final installer from the signed exe
9294
- name: Build final installer

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Pinokio
2+
3+
Launch Anything.
4+
5+
# Script Policy
6+
7+
Pinokio is a 1-click launcher for any open-source project. Think of it as a terminal application with a user-friendly interface that can programmatically interact with scripts.
8+
9+
This means:
10+
11+
1. **Scripts can run anything:** Just like terminal apps can run shell scripts, Pinokio scripts can run any command, download files, and execute them. Essentially, Pinokio is a user-friendly terminal with a UI.
12+
2. **How scripts can be run:** There are two ways to run scripts on Pinokio:
13+
1. **Write your own:** Just like writing and executing shell scripts in the terminal, you can create your own scripts and run them locally.
14+
2. **Install from the "Discover" page:** Vetted scripts are manually listed in the directory, tracked via Git, and frozen under the official GitHub organization. These are guaranteed to be secure and safe to install.
15+
3. **Verified Scripts:** To be featured on the "Discover" page, scripts must go through the following strict process:
16+
1. **Publisher Verification:** You must be personally verified to submit scripts for consideration. Contact the Pinokio admin (https://x.com/cocktailpeanut) to request verification.
17+
2. **Github Organization Invitation:** Once verified, you'll be invited to the official Pinokio Factory GitHub organization as a contributor. Only members of this organization can publish scripts eligible for the "Discover" page. Abusing publishing privileges may result in removal from the organization.
18+
3. **Repository Transfer and Freeze** To apply for a feature, you must transfer your script repository to the Pinokio Factory GitHub organization. Follow this guide: https://docs.github.com/en/repositories/creating-and-managing-repositories/transferring-a-repository
19+
4. **Feature Application:** Once your repository is fully transferred and controlled by the organization, it is considered "frozen". You can then request to feature it on the "Discover" page by contacting the admin.
20+
5. **Review:** The script will be thoroughly reviewed and tested by the Pinokio admin. If verified as safe, it will be featured on the "Discover" page.
21+
6. **Troubleshooting:** If any issues arise after a script is featured, the Pinokio admin may:
22+
- Delist the script from the "Discover" page
23+
- Modify the script to resolve the issue. Since the script is under the Pinokio Factory organization, the admin has the rights to make necessary fixes.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Pinokio",
33
"private": true,
4-
"version": "3.20.25",
4+
"version": "3.21.0",
55
"homepage": "https://pinokio.co",
66
"description": "pinokio",
77
"main": "main.js",
@@ -31,7 +31,7 @@
3131
"publish": [
3232
{
3333
"provider": "github",
34-
"owner": "peanutcocktail",
34+
"owner": "pinokiocomputer",
3535
"repo": "pinokio"
3636
}
3737
],
@@ -116,7 +116,7 @@
116116
"electron-store": "^8.1.0",
117117
"electron-updater": "^6.6.2",
118118
"electron-window-state": "^5.0.3",
119-
"pinokiod": "^3.20.25"
119+
"pinokiod": "^3.21.0"
120120
},
121121
"devDependencies": {
122122
"@electron/rebuild": "3.2.10",

0 commit comments

Comments
 (0)