Skip to content

Update check for Python & squash bug related to gallery/ directory#1

Open
dtf0 wants to merge 4 commits into
codercowboy:mainfrom
dtf0:bugfix/gallery-source-dir
Open

Update check for Python & squash bug related to gallery/ directory#1
dtf0 wants to merge 4 commits into
codercowboy:mainfrom
dtf0:bugfix/gallery-source-dir

Conversation

@dtf0

@dtf0 dtf0 commented Jun 6, 2026

Copy link
Copy Markdown

Update check for Python

File: run_server.sh

command -v is preferred over type for this purpose and is POSIX-specified for the exit-status check.

Reason for fix: I don't have python installed on my path, but it is aliased to python3. Script was failing to load webserver after building.

Squash bug related to gallery/ directory

File: package.json

Took a little digging (tried updating the file path on console.log("Fetching json file: " + file); in CCUtil.js first), but found where it actually gets called at the top-level config.

Reason for fix: failed to fetch gallery-index.json and images.


Suggested edit: change showGithubLink = false to true. Broadcast your work on the clones of thieves!
(in fairness, toggling this is what helped me find the directory bug and squash it, so ¯\(ツ)/¯ )

Thanks for making this publicly available.

dtf0 added 2 commits June 6, 2026 08:00
`command -v` is preferred over `type` for this purpose and is POSIX-specified for the exit-status check.

Reason for fix: I don't have `python` installed on my path, but it is aliased to `python3`.  Script was failing to load webserver after building.
Took a little digging (tried updating the file path on `console.log("Fetching json file: " + file);` in `CCUtil.js` first), but found where it actually gets called at the top-level config.

Reason for fix: failed to fetch `gallery-index.json` and images.
@dtf0 dtf0 marked this pull request as ready for review June 6, 2026 08:22
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.

1 participant