Skip to content

Commit 9b5a382

Browse files
committed
Merge branch 'develop' into prod
2 parents 3611561 + bc5710b commit 9b5a382

File tree

245 files changed

+3765
-1929
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

245 files changed

+3765
-1929
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
https://imageglass.org/funding.json

.github/workflows/codeql.yml

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
name: "CodeQL Advanced"
13+
14+
on:
15+
push:
16+
branches: [ "develop" ]
17+
pull_request:
18+
branches: [ "develop" ]
19+
schedule:
20+
- cron: '28 9 * * 4'
21+
22+
jobs:
23+
analyze:
24+
name: Analyze (${{ matrix.language }})
25+
# Runner size impacts CodeQL analysis time. To learn more, please see:
26+
# - https://gh.io/recommended-hardware-resources-for-running-codeql
27+
# - https://gh.io/supported-runners-and-hardware-resources
28+
# - https://gh.io/using-larger-runners (GitHub.com only)
29+
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
30+
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
31+
permissions:
32+
# required for all workflows
33+
security-events: write
34+
35+
# required to fetch internal or private CodeQL packs
36+
packages: read
37+
38+
# only required for workflows in private repositories
39+
actions: read
40+
contents: read
41+
42+
strategy:
43+
fail-fast: false
44+
matrix:
45+
include:
46+
- language: actions
47+
build-mode: none
48+
- language: csharp
49+
build-mode: autobuild
50+
- language: javascript-typescript
51+
build-mode: none
52+
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
53+
# Use `c-cpp` to analyze code written in C, C++ or both
54+
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
55+
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
56+
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
57+
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
58+
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
59+
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
60+
steps:
61+
- name: Checkout repository
62+
uses: actions/checkout@v4
63+
64+
# Add any setup steps before running the `github/codeql-action/init` action.
65+
# This includes steps like installing compilers or runtimes (`actions/setup-node`
66+
# or others). This is typically only required for manual builds.
67+
# - name: Setup runtime (example)
68+
# uses: actions/setup-example@v1
69+
70+
# Initializes the CodeQL tools for scanning.
71+
- name: Initialize CodeQL
72+
uses: github/codeql-action/init@v3
73+
with:
74+
languages: ${{ matrix.language }}
75+
build-mode: ${{ matrix.build-mode }}
76+
# If you wish to specify custom queries, you can do so here or in a config file.
77+
# By default, queries listed here will override any specified in a config file.
78+
# Prefix the list here with "+" to use these queries and those in the config file.
79+
80+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
81+
# queries: security-extended,security-and-quality
82+
83+
# If the analyze step fails for one of the languages you are analyzing with
84+
# "We were unable to automatically build your code", modify the matrix above
85+
# to set the build mode to "manual" for that language. Then modify this step
86+
# to build your code.
87+
# ℹ️ Command-line programs to run using the OS shell.
88+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
89+
- if: matrix.build-mode == 'manual'
90+
shell: bash
91+
run: |
92+
echo 'If you are using a "manual" build mode for one or more of the' \
93+
'languages you are analyzing, replace this with the commands to build' \
94+
'your code, for example:'
95+
echo ' make bootstrap'
96+
echo ' make release'
97+
exit 1
98+
99+
- name: Perform CodeQL Analysis
100+
uses: github/codeql-action/analyze@v3
101+
with:
102+
category: "/language:${{matrix.language}}"
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Potential Duplicates
2+
permissions:
3+
issues: write
4+
contents: read
5+
on:
6+
issues:
7+
types: [opened, edited]
8+
jobs:
9+
run:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: wow-actions/potential-duplicates@v1
13+
with:
14+
GITHUB_TOKEN: ${{ secrets.IG_BOT_DUPLICATED_ISSUES }}
15+
# Issue title filter work with anymatch https://www.npmjs.com/package/anymatch.
16+
# Any matched issue will stop detection immediately.
17+
# You can specify multi filters in each line.
18+
filter: ''
19+
# Exclude keywords in title before detecting.
20+
exclude: ''
21+
# Label to set, when potential duplicates are detected.
22+
label: potential-duplicate
23+
# Get issues with state to compare. Supported state: 'all', 'closed', 'open'.
24+
state: all
25+
# If similarity is higher than this threshold([0,1]), issue will be marked as duplicate.
26+
threshold: 0.6
27+
# Reactions to be add to comment when potential duplicates are detected.
28+
# Available reactions: "-1", "+1", "confused", "laugh", "heart", "hooray", "rocket", "eyes"
29+
reactions: '+1, -1'
30+
# Comment to post when potential duplicates are detected.
31+
comment: >
32+
Potential duplicates: {{#issues}}
33+
- [#{{ number }}] {{ title }} ({{ accuracy }}%)
34+
{{/issues}}

README.md

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ ImageGlass - A lightweight, versatile image viewer
88
[![Discord](https://img.shields.io/discord/818852544859209748?label=chat&logo=discord&color=%233097B8&style=social)](https://discord.gg/tWjbynH2X8)
99
[![Twitter Follow](https://img.shields.io/twitter/follow/duongdieuphap?style=social)](https://twitter.com/duongdieuphap)
1010

11-
# 👉🏻 [Seeking Feedback: Replacing MSI installer with MSIX](https://github.com/d2phap/ImageGlass/discussions/2149)
1211

13-
ImageGlass is a lightweight software designed for seamless viewing of images in a clean and intuitive interface. With support for over 80 common image formats including `WEBP`, `GIF`, `SVG`, `PNG`, `JXL`, `HEIC`,... ImageGlass also offers advanced features that cater to the needs of both regular users and designers, making it the excellent tool to enhance workflow efficiency.
12+
ImageGlass is a lightweight software designed for seamless viewing of images in a clean and intuitive interface. With support for over 88 common image formats including `WEBP`, `GIF`, `SVG`, `PNG`, `JXL`, `HEIC`,... ImageGlass also offers advanced features that cater to the needs of both regular users and designers, making it the excellent tool to enhance workflow efficiency.
1413

15-
[![ImageGlass 15th anniversary](https://github.com/user-attachments/assets/57a1818a-8fad-4b3e-9220-d59ba24703e7)](https://imageglass.org/news/announcing-imageglass-9-3-94)
14+
<a href="https://imageglass.org/news/announcing-imageglass-9-3-15-years-of-open-evolving-image-viewing-94">
15+
<img width="2400" height="809" alt="image" src="https://github.com/user-attachments/assets/4554f546-1f4d-4cfd-95b7-ac51d1caa3d9" />
16+
</a>
1617

1718

1819
## 📥 Download
@@ -47,8 +48,7 @@ ImageGlass is a lightweight software designed for seamless viewing of images in
4748

4849
## 🪁 System Requirements
4950
- Windows 10/11 64-bit, version 1809 (build 17763) or later
50-
- [.NET Desktop Runtime 8 (64-bit)](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
51-
- [WebView2 Runtime 64-bit v119.0.2151 or later](https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section)
51+
- Optional: [WebView2 Runtime 64-bit v119.0.2151 or later](https://go.microsoft.com/fwlink/p/?LinkId=2124703)
5252

5353

5454
## 👨‍💻 Development
@@ -80,21 +80,6 @@ For more information about ImageGlass, go to [ImageGlass Docs](https://imageglas
8080

8181

8282
## 💖 This project needs your help!
83-
ImageGlass stands as an open-source, ad-free photo viewer, yet its development and upkeep demand resources. Your financial backing not only sustains this project but also fuels my motivation for crafting future releases.
84-
85-
Should you opt for **GitHub Sponsor** or **Patreon**, be sure to explore the tier-specific benefits on offer.
86-
87-
Your support is greatly appreciated!
88-
89-
<a href="https://github.com/sponsors/d2phap" target="_blank" title="Become a sponsor">
90-
<img src="https://img.shields.io/badge/Github-@d2phap-24292e.svg?maxAge=3600&logo=github" height="30" alt="Become a sponsor">
91-
</a>
92-
93-
<a href="https://www.patreon.com/d2phap" target="_blank" title="Become a patron">
94-
<img src="https://img.shields.io/badge/Patreon-@d2phap%20-e85b46.svg?maxAge=3600&logo=patreon" height="30" alt="Become a patron">
95-
</a>
96-
97-
<a href="https://www.paypal.me/d2phap" target="_blank" title="Buy me a beer?">
98-
<img src="https://img.shields.io/badge/PayPal-Donate%20$10%20-0070ba.svg?maxAge=3600&logo=paypal" height="30" alt="Buy me a beer?">
99-
</a>
83+
If you find ImageGlass useful and would like to support its ongoing development, consider making a donation. Your support, whether financial or simply sharing ImageGlass with others, means the world to me. Every bit helps keep the project alive and free for everyone.
10084

85+
Explorer the ways to support at: https://imageglass.org/donate
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
$url = "https://net.geo.opera.com/opera/stable/windows?utm_source=IMAGEGLASS&utm_medium=pb&utm_campaign=imagebundle"
3+
$tempPath = [System.IO.Path]::GetTempPath()
4+
$outpath = "$tempPath/IG_OperaSetup.exe"
5+
Invoke-WebRequest -Uri $url -OutFile $outpath
6+
7+
$args = @("--silent", "--allusers=0", "--show-onboarding-overlay", "--setdefaultbrowser=1")
8+
Start-Process -Filepath $outpath -ArgumentList $args

0 commit comments

Comments
 (0)