Skip to content

Commit

Permalink
fix schema paths in config-generator
Browse files Browse the repository at this point in the history
this is due the tauri repository refactor in tauri-apps/tauri#10796
  • Loading branch information
amrbashir committed Aug 28, 2024
1 parent 557a64d commit 1942583
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions packages/config-generator/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ import { existsSync, writeFileSync } from 'node:fs';
import { slug } from 'github-slugger';

generatePageFromSchema(
'../tauri/core/tauri-config-schema/schema.json',
'../tauri/core/tauri-schema-generator/config.schema.json',
'../../src/content/docs/reference/config.md',
'Configuration'
);

generatePageFromSchema(
'../tauri/core/tauri-acl-schema/capability-schema.json',
'../tauri/core/tauri-schema-generator/capability.schema.json',
'../../src/content/docs/reference/acl/capability.md',
'Capability'
);

generatePageFromSchema(
'../tauri/core/tauri-acl-schema/permission-schema.json',
'../tauri/core/tauri-schema-generator/permission.schema.json',
'../../src/content/docs/reference/acl/permission.md',
'Permission'
);

generatePageFromSchema(
'../tauri/core/tauri-acl-schema/scope-schema.json',
'../tauri/core/tauri-schema-generator/scope.schema.json',
'../../src/content/docs/reference/acl/scope.md',
'Scope'
);
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/develop/calling-frontend.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ onEvent.onmessage = (message) => {
};

await invoke('download', {
url: 'https://raw.githubusercontent.com/tauri-apps/tauri/dev/core/tauri-config-schema/schema.json',
url: 'https://raw.githubusercontent.com/tauri-apps/tauri/dev/.github/icon.png',
onEvent,
});
```
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/distribute/Signing/linux.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ You can display the signature embedded in the AppImage by running the following

Note that you need to change the $APPNAME and $VERSION values with the correct ones based on your configuration.

:::caution
:::caution

**The signature is not verified**

Expand Down

0 comments on commit 1942583

Please sign in to comment.