Skip to content

Commit

Permalink
Add
Browse files Browse the repository at this point in the history
  • Loading branch information
fabyday committed Mar 13, 2024
1 parent 27e7b35 commit 8d1b9b3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ Yes, *Electron* doesn't support _CDM_ due to the Liscense. In this reason, I cou

# Examples
<p align="center">
<a href="https://youtu.be/yXAcddQrgCg">
<img src="https://img.youtube.com/vi/yXAcddQrgCg/0.jpg" width="90%" >
<a href="https://youtu.be/NOlJcX-sri8">
<img src="https://img.youtube.com/vi/NOlJcX-sri8/0.jpg" width="90%" >
</a>
</p>
<p align="center">
<Strong>Laftel</Strong> streaming video examples <a href="https://youtu.be/Pax7wnCTAE8"><img alt="YouTube Video Views" src="https://img.shields.io/youtube/views/Pax7wnCTAE8">
<Strong>Laftel</Strong> streaming video examples <a href="https://youtu.be/NOlJcX-sri8"><img alt="YouTube Video Views" src="https://img.shields.io/youtube/views/NOlJcX-sri8">
</a>
</p>

Expand Down
6 changes: 3 additions & 3 deletions README_KR.MD
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@

# 사용 예시
<p align="center">
<a href="https://youtu.be/yXAcddQrgCg">
<img src="https://img.youtube.com/vi/yXAcddQrgCg/0.jpg" width="90%" >
<a href="https://youtu.be/NOlJcX-sri8">
<img src="https://img.youtube.com/vi/NOlJcX-sri8/0.jpg" width="90%" >
</a>
</p>
<p align="center">
<Strong>라프텔</Strong> 비디오 스트리밍 예시 <a href="https://youtu.be/Pax7wnCTAE8"><img alt="YouTube Video Views" src="https://img.shields.io/youtube/views/Pax7wnCTAE8">
<Strong>라프텔</Strong> 비디오 스트리밍 예시 <a href="https://youtu.be/NOlJcX-sri8"><img alt="YouTube Video Views" src="https://img.shields.io/youtube/views/NOlJcX-sri8">
</a>
</p>

Expand Down
7 changes: 5 additions & 2 deletions typescript_src/component/mainview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import fetch from 'cross-fetch'; // required 'fetch'
import { Configure, getProperty } from "../definitions/types";
import { Link_data } from "../definitions/data";
import { script_root_path } from "./constants";
import { setup_pogress_bar } from "./autoupdater";

ElectronBlocker.fromPrebuiltAdsAndTracking(fetch).then((blocker) => {
blocker.enableBlockingInSession(session.defaultSession);
Expand Down Expand Up @@ -39,7 +40,7 @@ export const get_instance = (conf : Configure):BrowserWindow =>{
app.quit()
})


// regex for extracting site names.
const re = /https:\/\/(.*\.)*(.*)\..*(com|net|tv).*/
let table:string[] = []
Expand All @@ -61,7 +62,9 @@ export const get_instance = (conf : Configure):BrowserWindow =>{
}
})
console.log(table)
script_root_path

mainView.setFullScreenable(false)
setup_pogress_bar(mainView)
let html_path = path.resolve(script_root_path, "./pages/main.html")
// mainView.loadURL(process.env.IS_DEV?"http://localhost:3000/preference.html" : html_path)
console.log("is dev?", process.env.IS_DEV)
Expand Down

0 comments on commit 8d1b9b3

Please sign in to comment.