Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 4d15c08

Browse files
committed
Added wsl-open #4004
1 parent a2424dd commit 4d15c08

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

renovate.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3540,6 +3540,17 @@
35403540
"datasourceTemplate": "github-releases",
35413541
"extractVersionTemplate": "^v(?<version>.+?)$"
35423542
},
3543+
{
3544+
"fileMatch": [
3545+
"^tools/wsl-open/manifest.yaml$"
3546+
],
3547+
"matchStrings": [
3548+
"version: \"?(?<currentValue>.*?)\"?\\n"
3549+
],
3550+
"depNameTemplate": "4U6U57/wsl-open",
3551+
"datasourceTemplate": "github-releases",
3552+
"extractVersionTemplate": "^v(?<version>.+?)$"
3553+
},
35433554
{
35443555
"fileMatch": [
35453556
"^tools/wslu/manifest.yaml$"

tools/wsl-open/Dockerfile.template

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#syntax=docker/dockerfile:1.4.3
2+
3+
ARG ref=main
4+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
5+
6+
ARG name
7+
ARG version
8+
9+
RUN <<EOF
10+
curl --silent --location --output "${prefix}${target}/bin/wsl-open" \
11+
"https://github.com/4U6U57/wsl-open/raw/v${version}/wsl-open.sh"
12+
chmod +x "${prefix}${target}/bin/wsl-open"
13+
14+
curl --silent --location --output "${prefix}${target}/share/man/man1/wsl-open.1" \
15+
"https://github.com/4U6U57/wsl-open/raw/v${version}/wsl-open.1"
16+
EOF

tools/wsl-open/manifest.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: wsl-open
2+
version: 2.2.1
3+
check: ""
4+
tags:
5+
- category/?
6+
- lang/shell
7+
homepage: https://github.com/4U6U57/wsl-open
8+
description: Open files with xdg-open on Bash for Windows in Windows applications
9+
renovate:
10+
datasource: github-releases
11+
package: 4U6U57/wsl-open
12+
extractVersion: ^v(?<version>.+?)$

0 commit comments

Comments
 (0)