Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lawrence/ev sign #1642

Open
wants to merge 44 commits into
base: develop
Choose a base branch
from
Open

Lawrence/ev sign #1642

wants to merge 44 commits into from

Conversation

Bykow
Copy link
Contributor

@Bykow Bykow commented Nov 23, 2024

Signing for windows app with SSL.com ev signer


This change is Reviewable

"signCommand": {
"cmd": "C:\Program Files\Git\bin\bash.EXE",
"args": [
"/c/actions-runner/_work/nym-vpn-client/nym-vpn-client/nym-vpn-app/src-tauri/CodeSignTool.sh",
Copy link
Contributor

Choose a reason for hiding this comment

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

Wonder if we can rely on $GITHUB_WORKSPACE to obtain the /c/actions-runner/_work/nym-vpn-client/ part and AFAIK even if it's windows path, bash.exe should probably understand it right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No we can't.

${{ github.workspace }} give a path in the form of C:\action-runner\_work\nym-vpn-client since we're in windows.

Since we're running in bash, \n get interpreted as a line return.

NETWORK_ENV_SELECT: ${{ inputs.dev_mode == true }}
CODE_SIGN_TOOL_PATH: "C:\\actions-runner\\_work\\nym-vpn-client\\nym-vpn-client\\nym-vpn-app\\src-tauri\\"
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here, maybe use ${{ github.workspace }} to obtain the prefix?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No we can't.

${{ github.workspace }} give a path in the form of C:\action-runner\_work\nym-vpn-client since we're in windows.

Since we're running in bash, \n get interpreted as a line return.

Copy link
Contributor

Choose a reason for hiding this comment

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

Errm I see.

run: |
npm run tauri info
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it still needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nop, not needed, forgot about it.

@doums
Copy link
Contributor

doums commented Nov 25, 2024

wp @Bykow ;)

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.

3 participants