Skip to content

Commit

Permalink
remove unsued deps in github action
Browse files Browse the repository at this point in the history
  • Loading branch information
0-don committed Dec 24, 2024
1 parent 6420223 commit 0697cee
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,18 @@ jobs:
if: matrix.platform == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev pkg-config libglib2.0-dev libwebkit2gtk-4.1-dev libgtk-3-dev libxdo-dev libayatana-appindicator3-dev librsvg2-dev librsvg2-dev libxcb-shape0-dev libxcb-xfixes0-dev patchelf libxdo3 libxdo-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev
sudo apt-get install -y \
libglib2.0-dev \
libgtk-3-dev \
libayatana-appindicator3-dev \
librsvg2-dev \
libxcb-shape0-dev \
libxcb-xfixes0-dev \
patchelf \
libxdo3 \
libxdo-dev \
libjavascriptcoregtk-4.1-dev \
libwebkit2gtk-4.1-dev
- name: install frontend dependencies
run: yarn install
Expand Down
4 changes: 4 additions & 0 deletions src/components/pages/app/clipboard/text-clipboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ export const TextClipboard: Component<TextClipboardProps> = (props) => {
let data = props.data.text?.data;
let textType = props.data.text?.type as ClipboardTextType;

if (props.data.text?.data && props.data.html?.data) {
type = ClipboardType.Html;
data = props.data.text?.data;
}
if (!props.data.text?.data && props.data.html?.data) {
type = ClipboardType.Html;
data = props.data.html.data;
Expand Down

0 comments on commit 0697cee

Please sign in to comment.