Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix: # https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs
platform: [mac, ios]
runs-on: macos-latest # https://github.com/actions/runner-images
runs-on: macos-15 # https://github.com/actions/runner-images
steps:
- uses: actions/checkout@v4 # https://github.com/actions/checkout
with:
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
- run: npm run build:${{ matrix.platform }}-safari-15
if: ${{ ! github.event.release.prerelease }}
- name: Set xcode version
run: sudo xcode-select -s "/Applications/Xcode_16.2.app" # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md#xcode
run: sudo xcode-select -s "/Applications/Xcode_26.0.app" # https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md#xcode
- name: Run fastlane
id: fastlane
working-directory: ./fastlane
Expand Down
21 changes: 7 additions & 14 deletions src/app/App.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<svelte:options runes={true} />

<script>
import logoIcon from "@shared/img/logo-icon.png";
import LogoIcon from "@shared/Components/LogoIcon.svelte";
import LogoText from "@shared/Components/LogoText.svelte";
import IconDebug from "@shared/img/icon-bug.svg?raw";
import Dropdown from "@shared/Components/Dropdown.svelte";
Expand Down Expand Up @@ -147,15 +147,8 @@
</div>
{/if}
<div class="section app">
<img
alt="Userscripts App Icon"
class="icon"
draggable="false"
src={logoIcon}
/>
<div class="logo">
<LogoText />
</div>
<div class="logo-icon"><LogoIcon /></div>
<div class="logo-text"><LogoText /></div>
<div class="version">
{#if import.meta.env.GIT_TAG && import.meta.env.GIT_COMMIT}
<a href="{baseUrl}/releases/tag/{import.meta.env.GIT_TAG}">
Expand Down Expand Up @@ -307,12 +300,12 @@
color: var(--color-blue);
}

.section.app .icon {
height: min(8rem, 256px);
width: min(8rem, 256px);
.section.app .logo-icon :global(svg) {
height: min(7rem, 150px);
padding: 0.7rem;
}

.section.app .logo :global(svg) {
.section.app .logo-text :global(svg) {
display: flex;
height: min(1.5rem, 32px);
}
Expand Down
14 changes: 14 additions & 0 deletions src/shared/Components/LogoIcon.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<svelte:options runes={true} />

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 525 519">
<path
fill-rule="evenodd"
d="M144.586 416.295c-6.418 0-12.835-2.407-17.647-7.221L6.618 280.693c-8.824-9.629-8.824-23.269 0-32.898l120.32-128.38c8.824-9.629 24.065-10.431 33.69-1.605 9.626 8.826 10.428 24.071 1.605 33.7l-.803.802L56.35 264.645 161.43 376.98c8.824 9.628 8.824 24.873-.802 33.7-4.812 4.012-10.427 6.419-16.042 6.419zm235.828 0c-13.636 0-24.064-10.43-24.064-24.071 0-6.42 2.407-12.036 6.417-16.048l105.08-112.333-105.08-112.333c-8.823-9.629-8.021-24.874 1.605-33.7 9.625-8.826 24.866-8.024 33.69.802l120.32 128.381c8.824 9.629 8.824 23.27 0 32.898l-120.32 128.38c-4.813 4.815-11.23 8.024-17.648 8.024M214.372 519c-1.605 0-3.209 0-4.813-.802-12.834-2.408-21.658-15.246-18.45-28.084l96.257-470.997C289.773 6.28 302.607-2.547 315.441.662s21.658 15.246 18.45 28.084l-96.257 470.997C236.029 510.976 225.602 519 214.372 519"
/>
</svg>

<style>
path {
fill: light-dark(var(--color-black), var(--color-white));
}
</style>
3 changes: 0 additions & 3 deletions src/shared/Components/LogoText.svelte
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<svelte:options runes={true} />

<script>
</script>

<svg viewBox="0 0 181 24">
<g fill="none">
<path
Expand Down
Binary file removed src/shared/img/logo-icon.png
Binary file not shown.
9 changes: 9 additions & 0 deletions xcode/App-Shared/AppIcon.icon/Assets/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
94 changes: 94 additions & 0 deletions xcode/App-Shared/AppIcon.icon/icon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"fill-specializations" : [
{
"value" : "automatic"
},
{
"appearance" : "dark",
"value" : "automatic"
}
],
"groups" : [
{
"blend-mode-specializations" : [
{
"value" : "plus-darker"
},
{
"appearance" : "dark",
"value" : "plus-lighter"
},
{
"appearance" : "tinted",
"value" : "normal"
}
],
"blur-material" : 0.5,
"hidden" : false,
"layers" : [
{
"blend-mode" : "normal",
"fill-specializations" : [
{
"value" : "automatic"
},
{
"appearance" : "dark",
"value" : {
"linear-gradient" : [
"extended-gray:1.00000,0.80000",
"extended-gray:1.00000,0.70000"
]
}
},
{
"appearance" : "tinted",
"value" : {
"linear-gradient" : [
"extended-gray:1.00000,0.80000",
"extended-gray:1.00000,0.70000"
]
}
}
],
"glass" : true,
"hidden" : false,
"image-name" : "icon.svg",
"name" : "icon",
"opacity" : 1
}
],
"lighting" : "individual",
"position" : {
"scale" : 1,
"translation-in-points" : [
0,
0
]
},
"shadow-specializations" : [
{
"value" : {
"kind" : "neutral",
"opacity" : 0.5
}
},
{
"appearance" : "light",
"value" : {
"kind" : "layer-color",
"opacity" : 0.5
}
}
],
"specular" : true,
"translucency" : {
"enabled" : true,
"value" : 0.2
}
}
],
"supported-platforms" : {
"squares" : "shared"
}
}
6 changes: 6 additions & 0 deletions xcode/Userscripts.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
objects = {

/* Begin PBXBuildFile section */
007596BF2E10B67F008F8C04 /* AppIcon.icon in Resources */ = {isa = PBXBuildFile; fileRef = 007596BE2E10B67F008F8C04 /* AppIcon.icon */; };
007596C02E10B67F008F8C04 /* AppIcon.icon in Resources */ = {isa = PBXBuildFile; fileRef = 007596BE2E10B67F008F8C04 /* AppIcon.icon */; };
030C64F62AC62CC900548FBD /* Settings.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 030C64F52AC62CC900548FBD /* Settings.bundle */; };
030C64FC2AD0B24C00548FBD /* Initialization.swift in Sources */ = {isa = PBXBuildFile; fileRef = 030C64FB2AD0B24C00548FBD /* Initialization.swift */; };
030FCAD42B182008004D13CD /* UrlCodecTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 030FCAD32B182008004D13CD /* UrlCodecTests.swift */; };
Expand Down Expand Up @@ -112,6 +114,7 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
007596BE2E10B67F008F8C04 /* AppIcon.icon */ = {isa = PBXFileReference; lastKnownFileType = folder.iconcomposer.icon; path = AppIcon.icon; sourceTree = "<group>"; };
030C64F52AC62CC900548FBD /* Settings.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = Settings.bundle; sourceTree = "<group>"; };
030C64FB2AD0B24C00548FBD /* Initialization.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Initialization.swift; sourceTree = "<group>"; };
030FCAD32B182008004D13CD /* UrlCodecTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UrlCodecTests.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -204,6 +207,7 @@
isa = PBXGroup;
children = (
039F59512AD95485002E9977 /* Resources */,
007596BE2E10B67F008F8C04 /* AppIcon.icon */,
03D405482CC66DC90091FE6F /* Shared.xcassets */,
4A4CF6E9270A38BD00111584 /* ViewController.swift */,
039F59552ADA2FE2002E9977 /* USchemeHandler.swift */,
Expand Down Expand Up @@ -501,6 +505,7 @@
4A4CF6F0270A38BD00111584 /* Main.storyboard in Resources */,
4A4CF6ED270A38BD00111584 /* LaunchScreen.storyboard in Resources */,
03D4054B2CC66DC90091FE6F /* Shared.xcassets in Resources */,
007596BF2E10B67F008F8C04 /* AppIcon.icon in Resources */,
030C64F62AC62CC900548FBD /* Settings.bundle in Resources */,
4A4CF710270A38BF00111584 /* Assets.xcassets in Resources */,
039F59532AD9591C002E9977 /* dist in Resources */,
Expand All @@ -523,6 +528,7 @@
files = (
4A57B9F9227235CE008A9763 /* Assets.xcassets in Resources */,
032CBD3C2CBCF19A00B31D5E /* dist in Resources */,
007596C02E10B67F008F8C04 /* AppIcon.icon in Resources */,
03D4054D2CC66DC90091FE6F /* Shared.xcassets in Resources */,
4A57B9F5227235CD008A9763 /* Main.storyboard in Resources */,
);
Expand Down