Updated Copyright headers

This commit is contained in:
David Langley 2024-09-06 17:56:18 +01:00
parent cfce2b0453
commit c15014e7a8
38 changed files with 122 additions and 441 deletions

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2024 New Vector Ltd.
Copyright 2020 The Matrix.org Foundation C.I.C. Copyright 2020 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import path from "path"; import path from "path";

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2024 New Vector Ltd.
Copyright 2020 The Matrix.org Foundation C.I.C. Copyright 2020 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import childProcess from "child_process"; import childProcess from "child_process";

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2020-2021 The Matrix.org Foundation C.I.C. Copyright 2024 New Vector Ltd.
Copyright 2020, 2021 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import childProcess from "child_process"; import childProcess from "child_process";

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2020-2021 The Matrix.org Foundation C.I.C. Copyright 2024 New Vector Ltd.
Copyright 2020, 2021 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import childProcess from "child_process"; import childProcess from "child_process";

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2024 New Vector Ltd.
Copyright 2023 The Matrix.org Foundation C.I.C. Copyright 2023 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import { defineConfig } from "@playwright/test"; import { defineConfig } from "@playwright/test";

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2022 - 2023 The Matrix.org Foundation C.I.C. Copyright 2024 New Vector Ltd.
Copyright 2022, 2023 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import { test, expect } from "../../element-desktop-test"; import { test, expect } from "../../element-desktop-test";

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2024 New Vector Ltd.
Copyright 2023 The Matrix.org Foundation C.I.C. Copyright 2023 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import { _electron as electron, test as base, expect as baseExpect, type ElectronApplication } from "@playwright/test"; import { _electron as electron, test as base, expect as baseExpect, type ElectronApplication } from "@playwright/test";

View File

@ -1,17 +1,8 @@
/* /*
Copyright 2022 New Vector Ltd Copyright 2022-2024 New Vector Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
declare module "@mapbox/node-pre-gyp/lib/util/versioning" { declare module "@mapbox/node-pre-gyp/lib/util/versioning" {

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2024 New Vector Ltd.
Copyright 2020 The Matrix.org Foundation C.I.C. Copyright 2020 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import { DependencyInfo } from "./dep"; import { DependencyInfo } from "./dep";

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2024 New Vector Ltd.
Copyright 2020 The Matrix.org Foundation C.I.C. Copyright 2020 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import { DependencyInfo } from "./dep"; import { DependencyInfo } from "./dep";

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2024 New Vector Ltd.
Copyright 2020 The Matrix.org Foundation C.I.C. Copyright 2020 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import path from "path"; import path from "path";

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2020-2021 The Matrix.org Foundation C.I.C. Copyright 2024 New Vector Ltd.
Copyright 2020, 2021 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import path from "path"; import path from "path";

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2024 New Vector Ltd.
Copyright 2021 The Matrix.org Foundation C.I.C. Copyright 2021 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import HakEnv from "./hakEnv"; import HakEnv from "./hakEnv";

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2024 New Vector Ltd.
Copyright 2020 The Matrix.org Foundation C.I.C. Copyright 2020 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import fsProm from "fs/promises"; import fsProm from "fs/promises";

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2024 New Vector Ltd.
Copyright 2020 The Matrix.org Foundation C.I.C. Copyright 2020 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import { mkdirp } from "mkdirp"; import { mkdirp } from "mkdirp";

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2020-2021 The Matrix.org Foundation C.I.C. Copyright 2024 New Vector Ltd.
Copyright 2020, 2021 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import path from "path"; import path from "path";

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2020-2021 The Matrix.org Foundation C.I.C. Copyright 2024 New Vector Ltd.
Copyright 2020, 2021 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import path from "path"; import path from "path";

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2024 New Vector Ltd.
Copyright 2020 The Matrix.org Foundation C.I.C. Copyright 2020 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import path from "path"; import path from "path";

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2024 New Vector Ltd.
Copyright 2021 The Matrix.org Foundation C.I.C. Copyright 2021 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import { GLIBC, MUSL, familySync as processLibC } from "detect-libc"; import { GLIBC, MUSL, familySync as processLibC } from "detect-libc";

View File

@ -1,17 +1,8 @@
/* /*
Copyright 2021 - 2022 New Vector Ltd Copyright 2021-2024 New Vector Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import { BrowserWindow } from "electron"; import { BrowserWindow } from "electron";

View File

@ -1,17 +1,8 @@
/* /*
Copyright 2022 New Vector Ltd Copyright 2022-2024 New Vector Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
declare module "matrix-seshat" { declare module "matrix-seshat" {

View File

@ -1,17 +1,8 @@
/* /*
Copyright 2023 New Vector Ltd Copyright 2023, 2024 New Vector Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import { Streams } from "electron"; import { Streams } from "electron";

View File

@ -1,20 +1,11 @@
/* /*
Copyright 2018-2024 New Vector Ltd.
Copyright 2017-2019 Michael Telatynski <7t3chguy@gmail.com>
Copyright 2016 Aviral Dasgupta Copyright 2016 Aviral Dasgupta
Copyright 2016 OpenMarket Ltd Copyright 2016 OpenMarket Ltd
Copyright 2017, 2019 Michael Telatynski <7t3chguy@gmail.com>
Copyright 2018 - 2021 New Vector Ltd
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
// Squirrel on windows starts the app with various flags as hooks to tell us when we've been installed/uninstalled etc. // Squirrel on windows starts the app with various flags as hooks to tell us when we've been installed/uninstalled etc.

View File

@ -1,17 +1,8 @@
/* /*
Copyright 2022 New Vector Ltd Copyright 2022-2024 New Vector Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import { app, autoUpdater, desktopCapturer, ipcMain, powerSaveBlocker, TouchBar, nativeImage } from "electron"; import { app, autoUpdater, desktopCapturer, ipcMain, powerSaveBlocker, TouchBar, nativeImage } from "electron";

View File

@ -1,17 +1,8 @@
/* /*
Copyright 2022 New Vector Ltd Copyright 2022-2024 New Vector Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import type * as Keytar from "keytar"; // Hak dependency type import type * as Keytar from "keytar"; // Hak dependency type

View File

@ -1,17 +1,8 @@
/* /*
Copyright 2021 New Vector Ltd Copyright 2021-2024 New Vector Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import counterpart from "counterpart"; import counterpart from "counterpart";

View File

@ -1,17 +1,8 @@
/* /*
Copyright 2023 New Vector Ltd Copyright 2023, 2024 New Vector Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import { BrowserWindow } from "electron"; import { BrowserWindow } from "electron";

View File

@ -1,17 +1,8 @@
/* /*
Copyright 2024 New Vector Ltd Copyright 2024 New Vector Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import { BrowserWindow, ipcMain, session } from "electron"; import { BrowserWindow, ipcMain, session } from "electron";

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2018, 2019, 2021 New Vector Ltd Copyright 2024 New Vector Ltd.
Copyright 2018, 2019 , 2021 New Vector Ltd
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import { ipcRenderer, contextBridge, IpcRendererEvent } from "electron"; import { ipcRenderer, contextBridge, IpcRendererEvent } from "electron";

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2024 New Vector Ltd.
Copyright 2020 The Matrix.org Foundation C.I.C. Copyright 2020 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import { app } from "electron"; import { app } from "electron";

View File

@ -1,17 +1,8 @@
/* /*
Copyright 2022 New Vector Ltd Copyright 2022-2024 New Vector Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import { app, ipcMain } from "electron"; import { app, ipcMain } from "electron";

View File

@ -1,17 +1,8 @@
/* /*
Copyright 2022 New Vector Ltd Copyright 2022-2024 New Vector Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import * as tray from "./tray"; import * as tray from "./tray";

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2024 New Vector Ltd.
Copyright 2017 OpenMarket Ltd Copyright 2017 OpenMarket Ltd
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import path from "path"; import path from "path";

View File

@ -1,18 +1,10 @@
/* /*
Copyright 2024 New Vector Ltd.
Copyright 2017 Karl Glatz <karl@glatz.biz> Copyright 2017 Karl Glatz <karl@glatz.biz>
Copyright 2017 OpenMarket Ltd Copyright 2017 OpenMarket Ltd
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import { app, Tray, Menu, nativeImage } from "electron"; import { app, Tray, Menu, nativeImage } from "electron";

View File

@ -1,17 +1,8 @@
/* /*
Copyright 2016-2021 New Vector Ltd Copyright 2016-2024 New Vector Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import { app, autoUpdater, ipcMain } from "electron"; import { app, autoUpdater, ipcMain } from "electron";

View File

@ -1,17 +1,8 @@
/* /*
Copyright 2022 New Vector Ltd Copyright 2022-2024 New Vector Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import crypto from "crypto"; import crypto from "crypto";

View File

@ -1,17 +1,9 @@
/* /*
Copyright 2024 New Vector Ltd.
Copyright 2016 OpenMarket Ltd Copyright 2016 OpenMarket Ltd
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import { app, shell, Menu, MenuItem, MenuItemConstructorOptions } from "electron"; import { app, shell, Menu, MenuItem, MenuItemConstructorOptions } from "electron";

View File

@ -1,17 +1,8 @@
/* /*
Copyright 2021 New Vector Ltd Copyright 2021-2024 New Vector Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
you may not use this file except in compliance with the License. Please see LICENSE files in the repository root for full details.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/ */
import { import {