-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: patryk-sierzega <[email protected]> Co-authored-by: Łukasz Kowalczyk <[email protected]> Co-authored-by: Oskar Michalkiewicz <[email protected]> Co-authored-by: Lukasz Jarkowski <[email protected]> Co-authored-by: Oskar Michalkiewicz <[email protected]> Co-authored-by: Łukasz Kowalczyk <[email protected]>
- Loading branch information
1 parent
d6f780d
commit fdea4fe
Showing
366 changed files
with
5,576 additions
and
2,788 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ | |
"branches": 67.71 | ||
} | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/** | ||
* Copyright (c) Mudita sp. z o.o. All rights reserved. | ||
* For licensing, see https://github.com/mudita/mudita-center/blob/master/LICENSE.md | ||
*/ | ||
|
||
const axios = require("axios") | ||
const path = require("path") | ||
const fs = require("fs-extra") | ||
require("dotenv").config({ | ||
path: path.join(__dirname, "../../../.env"), | ||
}) | ||
import { normalizeHelpData } from "../../app/src/__deprecated__/renderer/utils/contentful/normalize-help-data" | ||
;(async () => { | ||
try { | ||
await fs.ensureDir(path.resolve(path.join("src", "main"))) | ||
const jsonPath = path.join("src", "help", "default-help.json") | ||
|
||
const url = `${process.env.MUDITA_CENTER_SERVER_URL}/help` | ||
const { data } = await axios.get(url) | ||
const helpData = normalizeHelpData(data, "en-US") | ||
|
||
await fs.writeJson(path.resolve(jsonPath), helpData) | ||
console.log("Help downloading finished.") | ||
} catch (error) { | ||
console.log("Error while downloading Help.", error) | ||
} | ||
})() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
packages/app/src/__deprecated__/common/enums/browser-actions.enum.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** | ||
* Copyright (c) Mudita sp. z o.o. All rights reserved. | ||
* For licensing, see https://github.com/mudita/mudita-center/blob/master/LICENSE.md | ||
*/ | ||
|
||
export enum BrowserActions { | ||
PolicyOpenBrowser = "policy-open-browser", | ||
UpdateOpenBrowser = "update-open-browser", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.