kopia lustrzana https://github.com/mifi/lossless-cut
Porównaj commity
11 Commity
ba383fe98e
...
9d79cc6647
Autor | SHA1 | Data |
---|---|---|
Nils Jacobsen | 9d79cc6647 | |
Mikael Finstad | 36454f5e49 | |
kalebs-anotheraxiom | a3cb513096 | |
Mikael Finstad | 41739d7572 | |
Mikael Finstad | 65410eab54 | |
Mikael Finstad | a662ab47e0 | |
Mikael Finstad | a030b29c9c | |
Mikael Finstad | 0ef2a98dbc | |
dependabot[bot] | 6c5acb9b63 | |
Nils Jacobsen | 1c17761c6f | |
Nils Jacobsen | d54d1a2825 |
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"recommendations": [
|
||||
"inlang.vs-code-extension"
|
||||
]
|
||||
}
|
2
cli.md
2
cli.md
|
@ -26,7 +26,7 @@ LosslessCut file1.mp4 file2.mkv
|
|||
```
|
||||
|
||||
## Override settings (experimental)
|
||||
See [available settings](https://github.com/mifi/lossless-cut/blob/master/src/main/configStore.js). Note that this is subject to change in newer versions. ⚠️ If you specify incorrect values it could corrupt your configuration file. You may use JSON or JSON5. Example:
|
||||
See [available settings](https://github.com/mifi/lossless-cut/blob/master/src/main/configStore.ts). Note that this is subject to change in newer versions. ⚠️ If you specify incorrect values it could corrupt your configuration file. You may use JSON or JSON5. Example:
|
||||
```bash
|
||||
LosslessCut --settings-json '{captureFormat:"jpeg", "keyframeCut":true}'
|
||||
```
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
/**
|
||||
* @type { import("@inlang/core/config").DefineConfig }
|
||||
*/
|
||||
export async function defineConfig(env) {
|
||||
const { default: i18nextPlugin } = await env.$import(
|
||||
"https://cdn.jsdelivr.net/npm/@inlang/plugin-i18next@3/dist/index.js",
|
||||
)
|
||||
|
||||
const { default: standardLintRules } = await env.$import(
|
||||
"https://cdn.jsdelivr.net/npm/@inlang/plugin-standard-lint-rules@3/dist/index.js",
|
||||
)
|
||||
|
||||
return {
|
||||
referenceLanguage: "en",
|
||||
plugins: [
|
||||
i18nextPlugin({
|
||||
pathPattern: "public/locales/{language}/translation.json",
|
||||
}),
|
||||
standardLintRules(),
|
||||
],
|
||||
}
|
||||
}
|
|
@ -12,6 +12,8 @@
|
|||
- Enable "advanced view" and then click the Yin Yang symbol. It will invert the segments.
|
||||
- Where is application data, settings and temp files stored?
|
||||
- Electron's [appData](https://www.electronjs.org/docs/api/app#appgetpathname) folder.
|
||||
- Can I export and replace the input file in-place?
|
||||
- No, but you can export and automatically delete the input file.
|
||||
|
||||
## App Stores and GitHub difference
|
||||
|
||||
|
|
|
@ -113,7 +113,7 @@
|
|||
"typescript": "~5.2.0",
|
||||
"use-debounce": "^5.1.0",
|
||||
"use-trace-update": "^1.3.0",
|
||||
"vite": "^4.5.2",
|
||||
"vite": "^4.5.3",
|
||||
"vitest": "^1.2.2"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// eslint-disable-line unicorn/filename-case
|
||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||
import { test, expect, describe } from 'vitest';
|
||||
|
||||
|
@ -22,17 +23,17 @@ if (process.platform === 'win32') {
|
|||
// taken from https://github.com/sindresorhus/file-url
|
||||
describe('file uri both platforms', () => {
|
||||
test('converts path to file url', () => {
|
||||
expect(pathToFileURL('/test.jpg').href).toMatch(/file:\/{3}test\.jpg/);
|
||||
expect(pathToFileURL('/test.jpg').href).toMatch(/^file:\/{3}.*test\.jpg$/);
|
||||
|
||||
expect(pathToFileURL('/Users/sindresorhus/dev/te^st.jpg').href).toEqual('file:///Users/sindresorhus/dev/te^st.jpg');
|
||||
expect(pathToFileURL('/Users/sindresorhus/dev/te^st.jpg').href).toMatch(/^file:\/{2}.*\/Users\/sindresorhus\/dev\/te\^st\.jpg$/);
|
||||
});
|
||||
|
||||
test('escapes more special characters in path', () => {
|
||||
expect(pathToFileURL('/a^?!@#$%&\'";<>').href).toEqual('file:///a^%3F!@%23$%25&\'%22;%3C%3E');
|
||||
expect(pathToFileURL('/a^?!@#$%&\'";<>').href).toMatch(/^file:\/{3}.*a\^%3F!@%23\$%25&'%22;%3C%3E$/);
|
||||
});
|
||||
|
||||
test('escapes whitespace characters in path', () => {
|
||||
expect(pathToFileURL('/file with\r\nnewline').href).toEqual('file:///file%20with%0D%0Anewline');
|
||||
expect(pathToFileURL('/file with\r\nnewline').href).toMatch(/^file:\/{3}.*file%20with%0D%0Anewline$/);
|
||||
});
|
||||
|
||||
test('relative path', () => {
|
||||
|
@ -40,7 +41,7 @@ describe('file uri both platforms', () => {
|
|||
});
|
||||
|
||||
test('slash', () => {
|
||||
expect(pathToFileURL('/').href).toEqual('file:///');
|
||||
expect(pathToFileURL('/').href).toMatch(/^file:\/{2}.*\/$/);
|
||||
});
|
||||
|
||||
test('empty', () => {
|
||||
|
|
10
yarn.lock
10
yarn.lock
|
@ -7992,7 +7992,7 @@ __metadata:
|
|||
typescript: "npm:~5.2.0"
|
||||
use-debounce: "npm:^5.1.0"
|
||||
use-trace-update: "npm:^1.3.0"
|
||||
vite: "npm:^4.5.2"
|
||||
vite: "npm:^4.5.3"
|
||||
vitest: "npm:^1.2.2"
|
||||
winston: "npm:^3.8.1"
|
||||
yargs-parser: "npm:^21.1.1"
|
||||
|
@ -11982,9 +11982,9 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"vite@npm:^4.5.2":
|
||||
version: 4.5.2
|
||||
resolution: "vite@npm:4.5.2"
|
||||
"vite@npm:^4.5.3":
|
||||
version: 4.5.3
|
||||
resolution: "vite@npm:4.5.3"
|
||||
dependencies:
|
||||
esbuild: "npm:^0.18.10"
|
||||
fsevents: "npm:~2.3.2"
|
||||
|
@ -12018,7 +12018,7 @@ __metadata:
|
|||
optional: true
|
||||
bin:
|
||||
vite: bin/vite.js
|
||||
checksum: 3feb39f8da038fb2b1ad074c19a9579c263c1d7a872c5c6e0269b82d67805bb8c93cf9fc393e852807483ae9a918b1ac2861c72f73ee92fb3935ea68333a2cf7
|
||||
checksum: 82efe1bc6d6848f8c97b71f1dc5b2fba2c3f30b2207ef2451c8df1a0ed5903c55714d7cd8ecb75879b488661d97f6e01a4ad758b5ef6a50a14338f916233bfa4
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue