Skip to content

Conversation

@ivan-ottinger
Copy link
Contributor

@ivan-ottinger ivan-ottinger commented Jan 28, 2026

Related issues

Proposed Changes

  • fix path for the About window source

Testing Instructions

  1. Run npm start

  2. Open Studio → About WordPress Studio

  3. Verify the About window displays correctly with the icon, version, and links

  4. Run npm run make then launch the packaged app

  5. Open Studio → About WordPress Studio

  6. Verify the About window displays correctly

The change should work on both macOS and Windows.

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?

@ivan-ottinger ivan-ottinger self-assigned this Jan 28, 2026
@ivan-ottinger ivan-ottinger requested a review from a team January 28, 2026 13:50
@wpmobilebot
Copy link

📊 Performance Test Results

Comparing 05fc06b vs trunk

site-editor

Metric trunk 05fc06b Diff Change
load 2845.00 ms 2849.00 ms +4.00 ms 🔴 0.1%

site-startup

Metric trunk 05fc06b Diff Change
siteCreation 7098.00 ms 7111.00 ms +13.00 ms 🔴 0.2%
siteStartup 3924.00 ms 3922.00 ms -2.00 ms 🟢 -0.1%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change

Copy link
Contributor

@epeicher epeicher left a comment

Choose a reason for hiding this comment

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

Thanks @ivan-ottinger! This works as expected, I can see the correct about window in both development and production builds. LGTM! :shipit:

Development version running npm start Production version running npm run make
Image Image

@epeicher epeicher merged commit 05936e9 into trunk Jan 28, 2026
11 checks passed
@epeicher epeicher deleted the fix/about-window-path branch January 28, 2026 14:59
Copy link
Member

@sejas sejas left a comment

Choose a reason for hiding this comment

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

Great fix Ivan! I tested it in dev npm start, and build npm run make versions, and I confirm the about page appears in both modes for each platform, Mac and Windows. I also tested v1.7.2 in Windows parallels.

Mac Windows
Image Image

? path.join( getResourcesPath(), 'src', 'about-menu', 'about-menu.html' )
: path.join( getResourcesPath(), 'dist', 'renderer', 'about-menu.html' );
if ( process.env.NODE_ENV === 'development' ) {
return path.join( __dirname, '../../src/about-menu/about-menu.html' );
Copy link
Member

Choose a reason for hiding this comment

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

Interesting that the paths work even with the hard-coded slashes (/).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, that's right. I expected it would not work correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants