Skip to content

Comments

Add Build Poki Html5 function which builds html5 versio nof the project and runs it on https://inspector.poki.dev/#25

Merged
AGulev merged 3 commits intomainfrom
open-html5-poki
Nov 25, 2025
Merged

Add Build Poki Html5 function which builds html5 versio nof the project and runs it on https://inspector.poki.dev/#25
AGulev merged 3 commits intomainfrom
open-html5-poki

Conversation

@AGulev
Copy link
Collaborator

@AGulev AGulev commented Nov 24, 2025

Developer can assign a preferable shortcut in preferences:
CleanShot 2025-11-24 at 15 41 48@2x

CleanShot.2025-11-24.at.15.36.23.mp4

Fix #13

@AGulev AGulev requested review from britzl and vlaaad November 24, 2025 14:42
Copy link

@vlaaad vlaaad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it supposed to work on Windows? If so, please ensure it does.

local function ensure_directory(path)
local attrs = editor.external_file_attributes(path)
if not attrs.exists then
editor.execute("mkdir", "-p", path, { reload_resources = false })
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you, I'll test on win/linux

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

linux works as well

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just found editor.create_directory(resource_path) but not sure if it will work in this case (I think current version is good enough)

@AGulev AGulev requested a review from vlaaad November 24, 2025 15:40
@AGulev AGulev merged commit 8c5f9f5 into main Nov 25, 2025
25 checks passed
@AGulev AGulev deleted the open-html5-poki branch November 25, 2025 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New option in the editor Build Poki HTML5

2 participants