Skip to content

Commit f01ad11

Browse files
committed
v2
1 parent 5198a1a commit f01ad11

File tree

11 files changed

+1150
-1242
lines changed

11 files changed

+1150
-1242
lines changed

.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONSTRUCT_USERNAME=
2+
CONSTRUCT_PASSWORD=

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ node_modules/
44
# Ignore all files in the build directories
55
/dist/*
66
/export*/*
7-
src/c3/
7+
src/c3/
8+
.env
9+
.vscode/settings.json

.vscode/settings.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ A plugin that integrate with Pipelab <br>
55
Author: Armaldio <br>
66
Website: https://github.com/CynToolkit/construct-plugin <br>
77
Addon Url: https://github.com/CynToolkit/construct-plugin <br>
8-
Download Latest Version : [Version: 1.9.1](https://github.com/CynToolkit/construct-plugin/releases/latest) <br>
8+
Download Latest Version : [Version: 2.0.0](https://github.com/CynToolkit/construct-plugin/releases/latest) <br>
99
<sub>Made using [c3ide2-framework](https://github.com/ConstructFund/c3ide2-framework) </sub><br>
1010

1111
## Table of Contents
@@ -309,20 +309,7 @@ The main files you may want to look at would be instance.js
309309
| On any "SetRichPresence" error | Trigger when any of the "SetRichPresence" failed to execute. | |
310310
| Is engine | Return true if the engine running the app is the one selected | Engine *(combo)* <br> |
311311
| Is full screen | Returns true if the window is in full screen mode. | State *(combo)* <br> |
312-
| Last checked path exists | Return 'true' if the last checked path exists. 'false' otherwise | |
313-
| On folder dialog cancel | Triggered when the folder dialog is canceled | |
314-
| On folder dialog ok | Triggered after a folder chosen from a folder dialog | |
315-
| On open dialog cancel | Triggered when the open dialog is canceled | |
316-
| On open dialog ok | Triggered after a file chosen from a open dialog | |
317-
| On save dialog cancel | Triggered when the save dialog is canceled | |
318-
| On save dialog ok | Triggered after a file chosen from a save dialog | |
319-
| On any binary file read | Triggered when any binary file read completes. The 'FileTag' expression identifies the action. | |
320-
| On any binary file written | Triggered when any binary file write completes. The 'FileTag' expression identifies the action. | |
321-
| On binary file read | Triggered when binary file read completes. The data is then available in the Binary Data object. | Tag *(string)* <br> |
322-
| On binary file written | Triggered when a binary file write completes. | Tag *(string)* <br> |
323-
| On file dropped | Triggered when the user drag-and-drops a file to the window | |
324-
| On file system error | Triggered when a file operation fails. | |
325-
| On path verification | Triggered when a file verification result is available. | Path *(string)* <br>Tag *(string)* <br> |
312+
| Last checked path exists | Returns true if the last checked path exists. | |
326313

327314

328315
---
@@ -415,12 +402,8 @@ The main files you may want to look at would be instance.js
415402
| SetRichPresenceResult | The result of the "SetRichPresence last call" | string | |
416403
| ArgumentAt | Get the argument at the given index. | string | Index *(number)* <br> |
417404
| ArgumentCount | Get the number of arguments. | number | |
418-
| ChosenPath | Return the chosen path after a file dialog. | string | |
419405
| AppFolderURL | Return the URL of the folder of the current app. | string | |
420406
| DroppedFile | Return the dropped file after a file drop. | string | |
421-
| FileError | Return the error message after a file operation fails. | string | |
422-
| FileSize | Return the size of the file. | number | |
423-
| FileTag | Return the tag of the action. | string | |
424407
| ListAt | Get the file at the given index. | string | Index *(number)* <br> |
425408
| ListCount | Get the number of files in the folder. | number | |
426409
| ProjectFilesFolder | Return the folder of the project files. | string | |

examples/example.c3p

-134 Bytes
Binary file not shown.

examples/example.c3p.bak

-167 KB
Binary file not shown.

mise.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[tools]
2+
node = "22.14.0"
3+
4+
[env]
5+
_.file = ".env"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"name": "@pipelab/construct-plugin",
1212
"description": "Pipelab construct plugin",
13-
"version": "1.9.1",
13+
"version": "2.0.0",
1414
"packageManager": "[email protected]",
1515
"type": "module",
1616
"scripts": {

scripts/publish.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import { publish } from "c3addon";
2-
import { version } from "../package.json" with { type: 'json' };
2+
import packageJson from "../package.json" with { type: 'json' };
3+
const { version } = packageJson
34

45
publish({
56
addonUrl: "https://www.construct.net/en/make-games/addons/1415/pipelab",
6-
filename: `dist/pipelab-${version}-sdk-v1.c3addon`,
7+
filename: `dist/pipelabv2-${version}-sdk-v2.c3addon`,
78
username: process.env.CONSTRUCT_USERNAME,
89
password: process.env.CONSTRUCT_PASSWORD,
9-
releaseNotes: `See release notes at https://github.com/CynToolkit/construct-plugin/releases/tag/v${version}`,
10+
releaseNotes: `See release notes at https://github.com/CynToolkit/construct-plugin/releases/tag/v${version}. You can also download SDK V1 there`,
1011
});

0 commit comments

Comments
 (0)